File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/cmd/go/internal/modindex Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -819,7 +819,7 @@ func (m *Module) Package(path string) *IndexPackage {
819
819
return m .pkg (i )
820
820
}
821
821
822
- // pkgAt returns the i'th IndexPackage in m.
822
+ // pkg returns the i'th IndexPackage in m.
823
823
func (m * Module ) pkg (i int ) * IndexPackage {
824
824
r := m .d .readAt (m .pkgOff (i ))
825
825
p := new (IndexPackage )
@@ -966,7 +966,7 @@ func (d *decoder) boolAt(off int) bool {
966
966
return d .intAt (off ) != 0
967
967
}
968
968
969
- // stringTableAt returns the string pointed at by the int at the given offset in d.data.
969
+ // stringAt returns the string pointed at by the int at the given offset in d.data.
970
970
func (d * decoder ) stringAt (off int ) string {
971
971
return d .stringTableAt (d .intAt (off ))
972
972
}
You can’t perform that action at this time.
0 commit comments