Go
-
httptap
A terminal UI that lets you inspect live HTTP traffic on a process without reaching for Wireshark.
-
tilstream
A static site generator for Today-I-Learned notes. Takes a folder of short markdown files and builds a searchable, RSS-friendly site.
-
lambdalog
A tiny Go library for structured logging inside AWS Lambda that doesn't fight the Lambda runtime.
-
portr
A TUI port scanner that rendered results in a live-updating table. Archived in 2023; I still think the idea was right.
-
A generic atomic counter for typed IDs
sync/atomic plus Go generics, so counter.Add and counter.Load carry their type.
-
Graceful shutdown with signal.NotifyContext
Three lines that replace the old os/signal dance and are still the right pattern.
-
Parallel Go tests that share a per-test temp directory
t.TempDir plus t.Parallel: short, correct, and auto-cleaning.
-
A sync.Pool of bytes.Buffer done right
The Put-before-you-Get-back idiom, and the cap-guard that keeps the pool small.
-
HTTP middleware that recovers panics cleanly
Recover, log with a stack, return 500, and do not crash the whole server.
-
Detaching a context for background work
A context that keeps the values but drops the cancellation, for async follow-ups.
-
Reading goroutine traces like a local
How to read the output of runtime/trace and actually understand why your service is slow.
-
A ticker with jitter, cancelled by context
A drop-in replacement for time.NewTicker that stops when your context does and does not synchronize all your replicas.
-
Deduplicating in-flight requests with singleflight
Ten lines that collapse a thundering herd into a single upstream call.
-
errgroup that cancels siblings on the first error
The 10-line pattern that replaces half the goroutine orchestration I used to write.
-
Stack vs heap: what escape analysis taught me
Go's escape analysis decides where your variables live, and reading its output changed how I write performance-sensitive code