settings section
This commit is contained in:
13
vendor/github.com/jackc/puddle/nanotime_time.go
generated
vendored
Normal file
13
vendor/github.com/jackc/puddle/nanotime_time.go
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
// +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()
|
||||
}
|
||||
Reference in New Issue
Block a user