Re:Map[string]interface{} in Go: a user's manual
by tptacek on Monday July 26, 2021 @06:29PM
(#27966266)
I'm not suggesting that you would build a custom exception recovery system; I'm pointing out that net/http, which is definitionally idiomatic, already has that recovery mechanism.
[ Parent
| on HN ]
Re:Map[string]interface{} in Go: a user's manual
by tgsovlerkhgsel on Monday July 26, 2021 @07:01PM
(#27966558)
I believe that that recovery mechanism isn't supposed to be routinely triggered just due to bad user input, and that code that does so would be considered defective.