Go

Preventing accidental struct copies in Go · article
Go 1.24's "tool" directive · article
Capturing console output in Go tests · article
Deferred teardown closure in Go testing · article
Three flavors of sorting Go slices · article
Nil comparisons and Go interface · article
Stacked middleware vs embedded delegation in Go · article
Why does Go's io.Reader have such a weird signature? · article
Go slice gotchas · article
Running only a single instance of a process · article
Function types and single-method interfaces in Go · article
Topological sort · article
Writing a circuit breaker in Go · article
ETag and HTTP caching · article
Crossing the CORS crossroad · 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
Eschewing black box API calls · article
Rate limiting via Nginx · 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