Reading List

The most recent articles from a list of feeds I subscribe to.

Why to prefer `t.Cleanup` to `defer` in tests with subtests using `t.Parallel`

Go’s defer and t.Cleanup have similar semantics, but there’s a good reason to prefer the use of t.Cleanup specifically in the presence of parallel subtests.

An email redaction function for Postgres

Neither here nor there, but a PL/pgSQL function for redacting emails in Postgres to derisk leaking PII.

Rate limiting, DDOS, and hyperbole

Examining the nature of a 429 (too many requests), and the purpose it serves.

A `TestTx` helper in Go using `t.Cleanup`

An elegant way of combining test transactions with Go’s built-in test abstractions.

100% test coverage

100% test coverage is annoying as hell, but probably good.