Errgroup

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.