1
0
mirror of https://github.com/golang/go synced 2024-11-07 15:26:11 -07:00

cmd/go: fix Go structs in -json documentation

"string" should really be "struct" in the structures describing the module.

Change-Id: I4e9cb12434bd33aa243622380c78e5e297d01d0b
Reviewed-on: https://go-review.googlesource.com/125638
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
Yann Hodique 2018-07-23 23:23:50 -07:00 committed by Ian Lance Taylor
parent 08ab820437
commit 4f9ae7739b
2 changed files with 2 additions and 2 deletions

View File

@ -928,7 +928,7 @@
// Indirect bool
// }
//
// type Replace string {
// type Replace struct {
// Old Module
// New Module
// }

View File

@ -99,7 +99,7 @@ Go types:
Indirect bool
}
type Replace string {
type Replace struct {
Old Module
New Module
}