sync – golang.org/x/sync Directories

sync/ directory

Directories

PathSynopsis
errgroupPackage errgroup provides synchronization, error propagation, and Context cancellation for groups of goroutines working on subtasks of a common task.
semaphorePackage semaphore provides a weighted semaphore implementation.
singleflightPackage singleflight provides a duplicate function call suppression mechanism.
syncmapPackage syncmap provides a concurrent map implementation.
Version
v0.20.0 (latest)
Published
Feb 23, 2026
Platform
js/wasm
Last checked
35 minutes ago

Tools for package owners.