aboutsummaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorcui fliter <imcusg@gmail.com>2023-07-03 13:41:45 +0800
committerGopher Robot <gobot@golang.org>2023-10-14 22:30:23 +0000
commitbc9dc8d415fc1ecf8d0d63a01dd17b2b60bf4cf3 (patch)
tree462b2d6341ea6be04023863ad42b80e10d129fd6 /src/net
parentdd491cfa544ff99e2530cd42750eaf318ec1e060 (diff)
downloadgo-bc9dc8d415fc1ecf8d0d63a01dd17b2b60bf4cf3.tar.xz
all: fix function names
Change-Id: Iba8878420c59d705066d1d9955e91a5c2eb4faf5 Reviewed-on: https://go-review.googlesource.com/c/go/+/507615 Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/net')
-rw-r--r--src/net/conf.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/conf.go b/src/net/conf.go
index 99717dbf8c..649ebcfb18 100644
--- a/src/net/conf.go
+++ b/src/net/conf.go
@@ -151,7 +151,7 @@ func initConfVal() {
}
}
-// goosPreferCgo reports whether the GOOS value passed in prefers
+// goosPrefersCgo reports whether the GOOS value passed in prefers
// the cgo resolver.
func goosPrefersCgo() bool {
switch runtime.GOOS {