Y
Hacker News
new
|
ask
|
show
|
jobs
by
iaaan
31 days ago
It is trivial to ignore an error in Go if you know your use case cannot result in one. But at the end of the day, json.Marshal takes an `any` as a parameter, so it must return an error.