diff options
| author | cui fliter <imcusg@gmail.com> | 2023-07-03 13:41:45 +0800 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-10-14 22:30:23 +0000 |
| commit | bc9dc8d415fc1ecf8d0d63a01dd17b2b60bf4cf3 (patch) | |
| tree | 462b2d6341ea6be04023863ad42b80e10d129fd6 | |
| parent | dd491cfa544ff99e2530cd42750eaf318ec1e060 (diff) | |
| download | go-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>
| -rw-r--r-- | src/internal/coverage/decodemeta/decodefile.go | 2 | ||||
| -rw-r--r-- | src/net/conf.go | 2 | ||||
| -rw-r--r-- | src/time/zoneinfo_read.go | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/internal/coverage/decodemeta/decodefile.go b/src/internal/coverage/decodemeta/decodefile.go index 6580dd5402..96e076596f 100644 --- a/src/internal/coverage/decodemeta/decodefile.go +++ b/src/internal/coverage/decodemeta/decodefile.go @@ -147,7 +147,7 @@ func (r *CoverageMetaFileReader) CounterMode() coverage.CounterMode { return r.hdr.CMode } -// CounterMode returns the counter granularity (single counter per +// CounterGranularity returns the counter granularity (single counter per // function, or counter per block) selected when building for coverage // for the program that produce this meta-data file. func (r *CoverageMetaFileReader) CounterGranularity() coverage.CounterGranularity { 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 { diff --git a/src/time/zoneinfo_read.go b/src/time/zoneinfo_read.go index 4d0e47d890..707dd1189d 100644 --- a/src/time/zoneinfo_read.go +++ b/src/time/zoneinfo_read.go @@ -90,7 +90,7 @@ func (d *dataIO) byte() (n byte, ok bool) { return p[0], true } -// read returns the read of the data in the buffer. +// rest returns the rest of the data in the buffer. func (d *dataIO) rest() []byte { r := d.p d.p = nil |
