Commit 4f9ae773 authored by Yann Hodique's avatar Yann Hodique Committed by Ian Lance Taylor

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/125638Reviewed-by: default avatarDaniel Martí <mvdan@mvdan.cc>
Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: Gobot Gobot <gobot@golang.org>
parent 08ab8204
......@@ -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
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment