Move main logic to package and use generics for API with backwards compatibility
This commit is contained in:
committed by
Jack Christensen
parent
314357b795
commit
4e95984946
@@ -1,12 +0,0 @@
|
||||
// +build !purego,!appengine,!js
|
||||
|
||||
// This file contains the implementation of nanotime using runtime.nanotime.
|
||||
|
||||
package puddle
|
||||
|
||||
import "unsafe"
|
||||
|
||||
var _ = unsafe.Sizeof(0)
|
||||
|
||||
//go:linkname nanotime runtime.nanotime
|
||||
func nanotime() int64
|
||||
Reference in New Issue
Block a user