Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/go: 'mod verify' should not modify the go.mod file #31372
$ go version go version go1.12 linux/amd64
Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
A helpful soul linked me to https://golang.org/cmd/go/#hdr-The_go_mod_file, which explains:
This seems like a very important piece of information (various
Also, it seems like this is not really the right behavior. For commands that are meant to answer questions rather than change state (
Relatedly, the various build-related commands (
On the other hand, commands that answer questions need to at least resolve enough of the dependency graph to answer the question that was asked. For example,
I wasn't able to reproduce this using the original instructions, but after replacing the crypto requirement with
More importantly though,
We're in code freeze now, so I don't think this will be in for 1.13.