About 99 results
https://rednafi.com/shards/2026/03/repository-layer-over-sqlc/ · 16 Mar 2026
Decoupling business logic from storage with a small interface in Go.
https://rednafi.com/go/wrap-grpc-client/ · 15 Mar 2026
How to wrap a generated gRPC client behind a clean Go API so users never have to touch protobuf types or connection management directly.
https://rednafi.com/shards/2026/03/etcd-codebase/ · 14 Mar 2026
Why the etcd codebase is my go-to reference for building gRPC services in Go.
https://rednafi.com/go/to-wrap-or-not-to-wrap/ · 7 Mar 2026
Exploring the tradeoffs between wrapping errors at every return site versus wrapping only at boundaries, with no definitive answer - just honest tradeoffs for the kind of software I write.
https://rednafi.com/go/mutex-closure/ · 5 Mar 2026
Why your mutex wrapper should accept a closure for mutation instead of a plain value, with examples from the standard library and Tailscale.
https://rednafi.com/go/context-cancellation-cause/ · 24 Feb 2026
How Go 1.20's WithCancelCause and Go 1.21's WithTimeoutCause let you attach a reason to context cancellation, plus a gotcha with manual cancel and the stdlib pattern that covers every path.
https://vivsha.ws/blog/stress-testing-claudes-language-skills · 24 Feb 2026
Polyglot or poly-not?
https://rednafi.com/go/structured-concurrency/ · 21 Feb 2026
How Python and Kotlin provide structured concurrency out of the box while Go achieves the same patterns explicitly using errgroup, WaitGroup, and context.
https://nesbitt.io/2026/02/19/go-modules-for-package-management-tooling.html · 19 Feb 2026
The Go modules behind git-pkgs, rebuilt from my Ruby supply chain libraries.
https://nesbitt.io/2026/02/14/package-management-namespaces.html · 14 Feb 2026
Comparing namespace models across npm, Maven, Go, Swift, and crates.io.