]> Cypherpunks repositories - gostls13.git/commit
sync: add examples for OnceValue and OnceValues
authorAustin Clements <austin@google.com>
Tue, 28 Mar 2023 18:53:57 +0000 (14:53 -0400)
committerGopher Robot <gobot@golang.org>
Tue, 23 Apr 2024 17:45:47 +0000 (17:45 +0000)
commit960fa9bf66139e535d89934f56ae20a0e679e203
treea871b6e4da8c910d9ffbad43fc5c2651222583d3
parenta62c290c5056d838c1a3c8f3a6375b5bc51c7666
sync: add examples for OnceValue and OnceValues

Updates #56102.

Change-Id: I2ee2dbc43b4333511d9d23752fdc574dfbf5f5bd
Reviewed-on: https://go-review.googlesource.com/c/go/+/481062
Reviewed-by: Andrew Gerrand <adg@golang.org>
Auto-Submit: Austin Clements <austin@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Joedian Reid <joedian@google.com>
src/sync/example_test.go