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:
parent
08ab820437
commit
4f9ae7739b
@ -928,7 +928,7 @@
|
||||
// Indirect bool
|
||||
// }
|
||||
//
|
||||
// type Replace string {
|
||||
// type Replace struct {
|
||||
// Old Module
|
||||
// New Module
|
||||
// }
|
||||
|
@ -99,7 +99,7 @@ Go types:
|
||||
Indirect bool
|
||||
}
|
||||
|
||||
type Replace string {
|
||||
type Replace struct {
|
||||
Old Module
|
||||
New Module
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user