Hacker News new | ask | show | jobs
by cyberax 509 days ago
A more correct term is "goroutine-local" storage, which Go _already_ has. It's used for pprof labels, they are even inherited when a new Goroutine is started.