2
0

Move main logic to package and use generics for API with backwards compatibility

This commit is contained in:
Столяров Владимир Алексеевич
2022-03-18 18:20:15 +03:00
committed by Jack Christensen
parent 314357b795
commit 4e95984946
9 changed files with 663 additions and 635 deletions
-13
View File
@@ -1,13 +0,0 @@
// +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()
}