Skip to content

Glossary: Go Beyond the Basics

errgroup

Also written: errgroup.Group

A package from golang.org/x/sync that runs functions in goroutines and lets them return errors. `Wait` waits for all of them and returns the first error.

Where the book teaches it

Related terms

errgroup.WithContextg.SetLimit(n)WaitGroup