github.com/andoma-go/puddle/v2@v2.2.1/nanotime_unsafe.go (about) 1 //go:build !purego && !appengine && !js 2 3 // This file contains the implementation of nanotime using runtime.nanotime. 4 5 package puddle 6 7 import "unsafe" 8 9 var _ = unsafe.Sizeof(0) 10 11 //go:linkname nanotime runtime.nanotime 12 func nanotime() int64