Documentation
¶
Overview ¶
Package errgroup implements a mostly drop in replacement for golang.org/x/sync/multierror with one major change, where golang.org/x/sync/errgroup returns the first non-nil error (if any) github.com/simplylib/errgroup returns all the errors using github.com/simplylib/multierror
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Group ¶
type Group struct {
// contains filtered or unexported fields
}
Group of goroutines concurrently running tasks, optionally limited by SetLimit(int).
func (*Group) Go ¶
Go run a function in a separate Goroutine, unbounded by default unless SetLimit(int) is called.
Click to show internal directories.
Click to hide internal directories.