Re:Map[string]interface{} in Go: a user's manual
by tgsovlerkhgsel on Monday July 26, 2021 @06:15PM
(#27966161)
Your example will throw a KeyError if "input" doesn't contain "foo", and an AttributeError if "foo" is some unexpected data type that doesn't have keys().
[ Parent
| on HN ]
There are no comments on this comment yet.