Tag: golang
All the articles with the tag "golang".
-
The redundant column I added on purpose
Don't store what you can derive — until you do. Why I added a denormalized column to my uptime monitor's schema, and what makes redundant data safe.
-
Understanding Worker Pools in Go
You have 1,000 URLs to check. This post walks you through why the obvious approach breaks, and how a worker pool fixes it — built from scratch, explained simply.
-
`errors.Is` vs `errors.As` vs `errors.AsType` — when to use which
Three tools, three different questions. A practical guide to Go's error inspection functions and when to reach for each one.
-
CSRF Protection in Go
A comprehensive guide to Go 1.25's new CrossOriginProtection API - a modern, token-free approach to CSRF protection that leverages browser headers for security