commit | 4966af63bb0cd2fe6d8cf9198904d30401b05fbd | [log] [tgz] |
---|---|---|
author | Sean Liao <sean@liao.dev> | Fri May 19 20:29:37 2023 +0100 |
committer | Gopher Robot <gobot@golang.org> | Tue May 23 18:54:36 2023 +0000 |
tree | d08e5def71215d1facf00f8c03ecc97ed24e0b05 | |
parent | a6666c150eb9762365996ad2f3a8c35b0818d7bb [diff] |
singleflight: example for using Group Fixes golang/go#60208 Change-Id: I422a45c0f139ba47045f47cec1c96d300a2a424f Reviewed-on: https://go-review.googlesource.com/c/sync/+/496535 Run-TryBot: Bryan Mills <bcmills@google.com> Auto-Submit: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Bryan Mills <bcmills@google.com>
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 golang.org/x/sync
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/sync
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the sync repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/sync:” in the subject line, so it is easy to find.