← All writinggo

Errgroup

A desert relay test range for Go services with modular compute pylons and signal pulses.

Brian Hatfield mentioned the errgroup package on Twitter today, which prompted me to look at it. Here’s my synopsis:

errgroup provides synchronization, error propagation, and Context cancelation for groups of goroutines working on subtasks of a common task. Like a sync.WaitGroup that returns an error.