Thoughts, stories, and ideas about software development and technology.
The difference between %v and %w in fmt.Errorf, and why %w is what makes errors.Is and errors.As work correctly once an error crosses package boundaries.
sql.NullString and friends solve the scanning problem but leak Valid/String objects into your JSON API. Pointer types fix scanning and serialization in one move.
Two tags, two completely different readers: what db and json actually do on a Go struct, and why your database schema should not dictate your API.
Go, also known as Golang, is an open-source programming language created by Google.