]> Cypherpunks repositories - gostls13.git/commit
cmd/go: add go mod edit -go flag
authorIan Lance Taylor <iant@golang.org>
Sat, 3 Nov 2018 00:08:24 +0000 (17:08 -0700)
committerIan Lance Taylor <iant@golang.org>
Sat, 10 Nov 2018 01:42:03 +0000 (01:42 +0000)
commitc5aea7a4941aa9c37ed07e3a252bc81c9c90802f
tree1b9d66caff02d3559d75ee5297569164016c718a
parent6887d8b1e258898db4030b10383a853b0dd96318
cmd/go: add go mod edit -go flag

It can be used to set the Go language version used by the module.

RELNOTES=yes

Updates #28221

Change-Id: Ief0dd185c01195a17be20dff8627c80943c436e7
Reviewed-on: https://go-review.googlesource.com/c/147282
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
src/cmd/go/alldocs.go
src/cmd/go/internal/modcmd/edit.go
src/cmd/go/testdata/script/mod_edit.txt
src/cmd/go/testdata/script/mod_edit_go.txt [new file with mode: 0644]