Journal
Writing down the things I learned. To share them with others and my future self.
Home
All Posts
About
Tags
errors
07
Jun 2020
The Non-Obvious properties of JSON Encoder.Encode directly to http.ResponseWriter
Today I came across the following code snipped in a golang HTTP handler: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 import( "...
11
May 2020
On Errors in Golang
In Golang are two ways to signal an error in a function or method. The first is the convention to return an error value ...