traefik/vendor/gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer/time.go

11 lines
150 B
Go
Raw Normal View History

// +build !windows
package tracer
import "time"
// now returns current UTC time in nanos.
func now() int64 {
return time.Now().UTC().UnixNano()
}