Gibheer
6ea4d2c82d
lib/pq is out of maintenance for some time now, so switch to the newer more active library. Looks like it finally stabilized after a long time.
14 lines
207 B
Go
14 lines
207 B
Go
//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()
|
|
}
|