Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
time: different time.Now().UTC() values between OS flavors #37458
What version of Go are you using (
Darwin and Alpine are entirely different operating systems with entirely different kernels. There is no particular reason to think that they will provide the same timestamp precision. Go is just providing the best information that it has, so this difference doesn't really have anything to do with Go.
I'm not sure what you mean by "validating timestamps." You will get a better answer for that kind of question on a forum; see https://golang.org/wiki/Questions.