Registry / utility / x-sync

x-sync

JSON →
library0.21.0gogounverified

Package sync provides additional concurrency primitives beyond those in the standard library, such as errgroup and semaphore.

go get golang.org/x/sync
INSTALL
IMPORT
SIG · X-SYNC
X
x-sync
utilitygov0.21.0
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
golang.org/x/sync/errgroup

Uses errgroup to run goroutines and wait for errors.

package main import ( "fmt" "golang.org/x/sync/errgroup" ) func main() { var g errgroup.Group g.Go(func() error { return nil }) if err := g.Wait(); err != nil { fmt.Println(err) } }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
x-sync — go get x-sync · libregistry