3 ms·
It doesn't actually use units. Everything is in nanoseconds, so time.Second is just another unitless number. const ( Nanosecond Duration = 1 Microseco
by ironmagma 5y ago
It doesn't actually use units. Everything is in nanoseconds, so time.Second is just another unitless number.
const (
Nanosecond Duration = 1
Microsecond = 1000 * Nanosecond
Millisecond = 1000 * Microsecond
Second = 1000 * Millisecond
Minute = 60 * Second
Hour = 60 * Minute
)