Stop Smuggling Request Data Through context.Value

go dev.to

Book: The Complete Guide to Go Programming Also by me: Thinking in Go (2-book series) — Complete Guide to Go Programming + Hexagonal Architecture in Go My project: Hermes IDE | GitHub — an IDE for developers who ship with Claude Code and other AI coding tools Me: xgabriel.com | GitHub You open a handler in a Go service you didn't write. It needs the current user's ID. The signature is func(w http.ResponseWriter, r *http.Request). No user in sight. You search the file. Nothing. You s

Read Full Tutorial open_in_new
arrow_back Back to Tutorials