Additional Go concurrency primitives

Clone this repo:
  1. 59c1ca1 errgroup: add reference to sync.WaitGroup by Olivier Mengué · 4 months ago master v0.6.0
  2. 10739b0 all: update go directive to 1.18 by Dmitri Shuralyov · 5 months ago v0.5.0
  3. 22ba207 singleflight: add panicError.Unwrap method by Eric Wohltman · 6 months ago v0.4.0
  4. 93782cc errgroup: use WithCancelCause to cancel context by Jon Johnson · 11 months ago internal-branch.go1.21-vendor v0.3.0
  5. 4966af6 singleflight: example for using Group by Sean Liao · 9 months ago

Go Sync

Go Reference

This repository provides Go concurrency primitives in addition to the ones provided by the language and “sync” and “sync/atomic” packages.


The easiest way to install is to run go get -u You can also manually git clone the repository to $GOPATH/src/

Report Issues / Send Patches

This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see

The main issue tracker for the sync repository is located at Prefix your issue with “x/sync:” in the subject line, so it is easy to find.