github.com/jackc/puddle@v1.3.0/nanotime_unsafe.go (about)

     1  // +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