Closed bbrks closed 7 years ago
Fixes integer overflows on durations longer than 2147483647 nanoseconds (2.15 seconds) on 32-bit machines.
This could also be achieved by using int64, but time.Duration is clearer.
Thanks!
Fixes integer overflows on durations longer than 2147483647 nanoseconds (2.15 seconds) on 32-bit machines.
This could also be achieved by using int64, but time.Duration is clearer.