2
0
Files
puddle/nanotime_time.go
Jack Christensen 40069f25d6 Remove compat layer and use generics directly
Backwards compatibility is not required since moving to v2.
2022-07-30 11:26:33 -05:00

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