This package provides Go concurrency primitives in addition to the ones provided by the language and sync and sync/atomic packages. The package provides several Golang submodules:
errgroup- synchronization, error propagation, and Context cancellation for groups of goroutines working on subtasks of a common tasksemaphore- a weighted semaphore implementationsingleflight- a duplicate function call suppression mechanismsyncmap- a concurrent map implementation
This package provides Go concurrency primitives in addition to the ones provided by the language and sync and sync/atomic packages. The package provides several Golang submodules:
errgroup- synchronization, error propagation, and Context cancellation for groups of goroutines working on subtasks of a common tasksemaphore- a weighted semaphore implementationsingleflight- a duplicate function call suppression mechanismsyncmap- a concurrent map implementation