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
+13
View File
@@ -0,0 +1,13 @@
//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()
}