Re:Python to Go Cheatsheet
by nytopop on Friday November 24, 2017 @06:07PM
(#15773510)
That's an artifact of it being statically typed. The data type to unmarshal into / marshal from needs to be defined somewhere. The extra stuff apart from error handling isn't required if you use a more generic type like `map[string]interface{}`.
[ Parent
| on HN ]
There are no comments on this comment yet.