Aug 25, 2024
http.Handlers and error handling in Golang
Errors in http handlers in Go are ridiculously complex to handler. Depending on how simple or complex your handler is, you can always fail to return an error somewhere after sending the response. Here is how I handle it
5 min read