Go

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

Go slice gotchas · article
Function types and single-method interfaces in Go · article
Topological sort · article
Writing a circuit breaker in Go · article
Dysfunctional options pattern in Go · article
Strategy pattern in Go · article
Anemic stack traces in Go · article
Retry function in Go · article
Type assertion vs type switches in Go · article
Omitting dev dependencies in Go binaries · article
Rate limiting via Nginx · article
Reminiscing CGI scripts · article
Configuring options in Go · article
Dummy load balancer in a single Go script · article
Limit goroutines with buffered channels · article
Writing a TOTP client in Go · article
Interface guards in Go · article
Go structured logging with slog · article