Registry / utility / neilotoole-errgroup

neilotoole-errgroup

JSON →
library0.1.6gogounverified

A drop-in replacement for sync/errgroup with a worker pool limited to N goroutines.

go get github.com/neilotoole/errgroup
INSTALL
IMPORT
SIG · NEILOTOOLE-ERRGROU
N
neilotoole-errgroup
utilitygov0.1.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

errgroup
github.com/neilotoole/errgroup

Create an errgroup with a worker pool of 5 goroutines.

package main import "github.com/neilotoole/errgroup" func main() { g, ctx := errgroup.WithContextN(nil, 5) g.Go(func() error { return nil }) g.Wait() }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.6latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
neilotoole-errgroup — go get neilotoole-errgroup · libregistry