https://gist.github.com/pteich/c0bb58b0b7c8af7cc6a689dd0d3d26ef?permalink_comment_id=4151542
Example for using go's sync.errgroup together with signal detection signal.NotifyContext to stop...
Example for using go's sync.errgroup together with signal detection signal.NotifyContext to stop all running goroutines - main.go