Re:Error handling in Go web apps shouldn't be so awkward
by jeremyloy_wt on Wednesday January 10, 2024 @05:07PM
(#38944027)
I disagree in the context of error handling.
The go ecosystem frequently utilizes `go generate` to handle boilerplate code generation. That’s the exact same way `thiserror` utilizes macros to generate plain error structs. While macros can do more, in this case it’s the same.
The go ecosystem frequently utilizes `go generate` to handle boilerplate code generation. That’s the exact same way `thiserror` utilizes macros to generate plain error structs. While macros can do more, in this case it’s the same.