x/vgo: vgo build/install
default binary name for module versions >=2
#26047
Labels
Milestone
What version of Go are you using (
go version
)?go version go1.10.1 darwin/amd64 vgo:2018-02-20.1
Latest
vgo
:What did you do?
Please refer to https://github.com/mwf/goplay/tree/master/vgo/hello_world
The same case as in #26046, a binary with major version 2.0.0.
go.mod:
cd
to hello_world module directoryWhat did you expect to see?
vgo build .
should produce binary namedhello_world
, as it should correspond with actual module name instead of the version.What did you see instead?
vgo build .
produces binary namedv2
The same thing if you use
vgo install
:Compare to v2 installation:
The text was updated successfully, but these errors were encountered: