logoalt Hacker News

ncruces • yesterday at 11:09 PM • 0 replies • view on HN

Ironically Go has(d) json.Number which almost no one used, so it got dropped from v2: https://pkg.go.dev/encoding/json#Number

You can still use it though, and I built my tiny decimal library around it: https://github.com/ncruces/decimal