diff options
author | Yann Hodique <yhodique@google.com> | 2018-07-23 23:23:50 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2018-07-24 14:29:38 +0000 |
commit | 4f9ae7739b6bcf1a8549128f468fa41d455ac2da (patch) | |
tree | 5a9beeda34669d7ed986199286f000f62092fa7e /src/cmd/go/internal/modcmd/mod.go | |
parent | 08ab820437229f68fe5f7dad1c9b4940c674e206 (diff) | |
download | go-4f9ae7739b6bcf1a8549128f468fa41d455ac2da.tar.gz go-4f9ae7739b6bcf1a8549128f468fa41d455ac2da.zip |
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>
Diffstat (limited to 'src/cmd/go/internal/modcmd/mod.go')
-rw-r--r-- | src/cmd/go/internal/modcmd/mod.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/go/internal/modcmd/mod.go b/src/cmd/go/internal/modcmd/mod.go index d01f699d88..ec93431085 100644 --- a/src/cmd/go/internal/modcmd/mod.go +++ b/src/cmd/go/internal/modcmd/mod.go @@ -99,7 +99,7 @@ Go types: Indirect bool } - type Replace string { + type Replace struct { Old Module New Module } |