gitlab.com/infor-cloud/martian-cloud/tharsis/go-limiter@v0.0.0-20230411193226-3247984d5abc/fasttime/fasttime_windows.go (about) 1 // +build windows 2 3 package fasttime 4 5 import "time" 6 7 // Now returns a monotonic clock value. On Windows, no such clock exists, so we 8 // fallback to time.Now(). 9 func Now() uint64 { 10 return uint64(time.Now().UnixNano()) 11 }