]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/go: fix 'go help mod edit' JSON documentation
authorJay Conrod <jayconrod@google.com>
Mon, 12 Apr 2021 18:50:57 +0000 (14:50 -0400)
committerJay Conrod <jayconrod@google.com>
Tue, 13 Apr 2021 13:51:17 +0000 (13:51 +0000)
commitd948b8633d4ae3d4501d0a5382b24431a96c0cba
tree1f5aca3c1f2ed8a65a8a6be54d6f714980b6f8b0
parent49e933fc57c2f858e19c26f4a2e56ba94fc54989
cmd/go: fix 'go help mod edit' JSON documentation

The object representing a module directive may have a "Deprecated"
field but not a "Version" field. Other objects representing module
versions have "Path" and "Version" fields but not "Deprecated".

For #40357

Change-Id: Iad8063dfa6f7ceea22981a8a8f99e65fa3b7ffa0
Reviewed-on: https://go-review.googlesource.com/c/go/+/309337
Trust: Jay Conrod <jayconrod@google.com>
Run-TryBot: Jay Conrod <jayconrod@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
src/cmd/go/alldocs.go
src/cmd/go/internal/modcmd/edit.go