Re:Strict APIs vs. Forgiving APIs
by postalrat on Wednesday October 28, 2020 @05:23PM
(#24924289)
Javascript numbers (as in JSON) can safely represent integers much higher than a 32 bit integer.
[ Parent
| on HN ]
Ha! Almost. You can get slight rounding errors at nanosecond resolutions, so be aware of this if you're using Go's time.Time internally and convert it to/from float64 seconds since Unix epoch.