2
0

Remove compat layer and use generics directly

Backwards compatibility is not required since moving to v2.
This commit is contained in:
Jack Christensen
2022-07-30 11:26:33 -05:00
parent 4e95984946
commit 40069f25d6
9 changed files with 584 additions and 630 deletions
+12
View File
@@ -0,0 +1,12 @@
//go: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