github.com/mvg-fi/go-limiter@v0.1.1/internal/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 }