Additional Go concurrency primitives

Clone this repo:
  1. 0de741c x/sync/errgroup: make note of the default errgroup goroutine limit (unlimited) by Jean de Klerk · 5 weeks ago master
  2. 0976fa6 x/sync/errgroup: add TryGo and SetLimit to control concurrency by Changkun Ou · 9 weeks ago internal-branch.go1.19-vendor
  3. 036812b all: go fmt ./... by Russ Cox · 1 year, 5 months ago internal-branch.go1.18-vendor
  4. 09787c9 add badge to by Julie Qiu · 1 year, 7 months ago
  5. 67f06af singleflight: fix flaky TestForget by Cuong Manh Le · 1 year, 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.