]> Cypherpunks repositories - gostls13.git/commit
cmd/go: update `go help mod edit` with the tool and ignore sections
authorDaniel Martí <mvdan@mvdan.cc>
Sat, 30 Aug 2025 20:13:12 +0000 (21:13 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Thu, 2 Oct 2025 18:30:47 +0000 (11:30 -0700)
commit707454b41fa1fea7e0286b1370dea47d3422b2cb
tree3f683ca927d9efcd462a5343b3bdce08318be4c3
parent8c68a1c1abade565c6719159858e76f9b122ddc8
cmd/go: update `go help mod edit` with the tool and ignore sections

The types were added to the docs, but not the fields in GoMod.
While here, I was initially confused about what is the top-level type
given that `type Module` comes first. Move `type GoMod` to the top
as it is the actual top-level type.

Change-Id: I1270154837501f5c7f5b21959b2841fd4ac808d0
Reviewed-on: https://go-review.googlesource.com/c/go/+/700116
Reviewed-by: Sean Liao <sean@liao.dev>
Reviewed-by: Carlos Amedee <carlos@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
Reviewed-by: Junyang Shao <shaojunyang@google.com>
src/cmd/go/alldocs.go
src/cmd/go/internal/modcmd/edit.go