Concurrency

Goroutines, channels, context, and the patterns that compose them. Newest first.

  • Context 0 to 1

    What `ctx context.Context` actually does — four tiny Go programs that walk from a leaking goroutine to a single cancel() that stops a whole tree of work.