cmd/go: go list incorrectly says that can only use path@version syntax with 'go get' #37218
Labels
FrozenDueToAge
GoCommand
cmd/go
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Executing:
reports the error:
However the error message is wrong, since
path@version
can also be used withgo list -m
andgo mod download
.The text was updated successfully, but these errors were encountered: