Goroutines

2026
A goroutine leak is one of the most insidious bugs in Go. Unlike a memory leak in C, nothing crashes. No panic, no OOM killer. Your service just slowly grows in memory and CPU usage over hours or days until it falls over — or someone notices the goroutine count in a dashboard.
Goroutines are Go’s unit of concurrency. They are the first thing interviewers ask about when the topic turns to concurrency.