Errgroup
The errgroup package offers a clean and lightweight way to manage goroutines, with clear examples provided in the official documentation.
It's especially helpful for implementing graceful shutdowns, as shown in Implementing Graceful Shutdown in Go on rudderstack.com.
Source code: errgroup package on go.dev.