Go

Notes on the Go programming language — interfaces, concurrency, testing, and patterns that have held up in production.

Testing Go CLIs with testscript · article
A tour of txtar · article
Type-safe slogging · article
Hoisting wire plumbing out of your Go handlers · article
Go quirks: function closures capturing mutable references · article
Peeking into Go struct tags · article
Error translation in Go services · article
Testing unary gRPC services in Go · article
Repositories, transactions, and unit of work in Go · article
Wrapping a gRPC client in Go · article
Go errors: to wrap or not to wrap? · article
Mutate your locked state inside a closure · article
What canceled my Go context? · article
Structured concurrency & Go · article
Your Go tests probably don't need a mocking library · article