/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

alexrichey.com
| | lanre.wtf

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
3.4 parsecs

Travel
| |
| | www.joeshaw.org

A scheme for consistent and safe HTTP API errors
1.5 parsecs

Travel
| |
| | linksort.com

In writing a REST API, we have to deal with at least two types of errors. Client errors: These errors are the fault of the user, e.g., providing an invalid...
0.1 parsecs

Travel
| |
| | gist.github.com

Simple Implementation of HTTP Server. GitHub Gist: instantly share code, notes, and snippets.
17.7 parsecs

Travel
|