|
You are here |
markphelps.me | ||
| | | | |
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... | |
| | | | |
www.joeshaw.org
|
|
| | | | | A scheme for consistent and safe HTTP API errors | |
| | | | |
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 | |
| | | | |
blog.gopheracademy.com
|
|
| | | Advanced Encoding and Decoding Techniques Go's standard library comes packed with some great encoding and decoding packages covering a wide array of encoding schemes. Everything from CSV, XML, JSON, and even gob - a Go specific encoding format - is covered, and all of these packages are incredibly easy to get started with. | ||