gotosocial/vendor/github.com/jackc/puddle/v2/nanotime_time.go

14 lines
207 B
Go
Raw Normal View History

//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()
}