aboutsummaryrefslogtreecommitdiff
path: root/src/sync
diff options
context:
space:
mode:
authorDaniel Martí <mvdan@mvdan.cc>2023-03-23 08:12:30 +0000
committerDaniel Martí <mvdan@mvdan.cc>2023-03-25 10:16:23 +0000
commit9768f736ea11165f10062401dec5509fdf1882ba (patch)
tree995fb59d9a83591bd0fb7d14ff778adef680d81d /src/sync
parent478b1d260a21a83a090ba120efb79753495545e1 (diff)
downloadgo-9768f736ea11165f10062401dec5509fdf1882ba.tar.xz
all: add a few links in package godocs
I noticed the one in path/filepath while reading the docs, and the other ones were found via some quick grepping. Change-Id: I386f2f74ef816a6d18aa2f58ee6b64dbd0147c9e Reviewed-on: https://go-review.googlesource.com/c/go/+/478795 Run-TryBot: Daniel Martí <mvdan@mvdan.cc> Reviewed-by: Heschi Kreinick <heschi@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/sync')
-rw-r--r--src/sync/atomic/doc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sync/atomic/doc.go b/src/sync/atomic/doc.go
index 472ab9df04..c22d1159af 100644
--- a/src/sync/atomic/doc.go
+++ b/src/sync/atomic/doc.go
@@ -7,7 +7,7 @@
//
// These functions require great care to be used correctly.
// Except for special, low-level applications, synchronization is better
-// done with channels or the facilities of the sync package.
+// done with channels or the facilities of the [sync] package.
// Share memory by communicating;
// don't communicate by sharing memory.
//