cmd/go: go run
doesn't recognize semantic-versioned import path for main package
#24676
Labels
FrozenDueToAge
modules
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?go version go1.10 darwin/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?What did you do?
Create a main package with version 2 (go.mod), like
What did you expect to see?
vgo run main.go
at$GOPATH/src/github.com/hajimehoshi/vgotest
succeeds.What did you see instead?
Error message:
Additional information
Instead of specifying a file, specifying a package path (#22726) might solve this?
The text was updated successfully, but these errors were encountered: