Y
Hacker News
new
|
ask
|
show
|
jobs
by
omni
4151 days ago
It is indeed nanosecond precision.
http://golang.org/pkg/time/#Time
1 comments
danbruc
4151 days ago
The value is represented with nanosecond resolution, but that does not imply that Now() will return a different value every nanosecond.
link
omni
4151 days ago
You are of course technically correct. It seems the precision returned by Now may be platform-dependent.
https://github.com/golang/go/blob/master/src/time/time.go#L7...
link