Not using errgroup (#73)
Official 100go entry on preferring error-aware goroutine orchestration over ad hoc WaitGroup plus channel plumbing.
Official 100go entry on preferring error-aware goroutine orchestration over ad hoc WaitGroup plus channel plumbing.
- Author: Teiva Harsanyi
- Authority: community
- Kind: guide
- URL: https://100go.co/#not-using-errgroup-73
What it covers
- error-aware groups
- cancellation of sibling work
- simpler parallel orchestration
Why authoritative
Official 100go website entry for this specific mistake.
Use when
- should this use errgroup in Go
- is WaitGroup plus error channel too much here
- how should sibling goroutines return the first error
Keywords
- errgroup, goroutines, error propagation, context, parallel work