Additional Go concurrency primitives

Clone this repo:
  1. 22ba207 singleflight: add panicError.Unwrap method by Eric Wohltman · 3 weeks ago master
  2. 93782cc errgroup: use WithCancelCause to cancel context by Jon Johnson · 6 months ago internal-branch.go1.21-vendor v0.3.0
  3. 4966af6 singleflight: example for using Group by Sean Liao · 4 months ago
  4. a6666c1 go.mod: upgrade to go 1.17 by Bryan C. Mills · 2 years, 5 months ago
  5. 1ea3257 singleflight: make the check for exec support in TestPanicDoChan platform-agnostic by Bryan C. Mills · 5 months ago v0.2.0

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.