mirror of
https://codeberg.org/superseriousbusiness/gotosocial.git
synced 2024-12-21 16:34:26 +03:00
9b76afc851
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
13 lines
207 B
Go
13 lines
207 B
Go
//go:build purego || appengine || js
|
|
|
|
// This file contains the safe implementation of nanotime using time.Now().
|
|
|
|
package puddle
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
func nanotime() int64 {
|
|
return time.Now().UnixNano()
|
|
}
|