Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/go: run gives conflicting advice when using path@version syntax #29415
What version of Go are you using (
changed the title
go run gives conflicting advice when using path@version syntax
Dec 27, 2018
referenced this issue
Jan 4, 2019
Can someone take a look at this please?
Example from https://golang.org/cmd/go/#hdr-Module_aware_go_get which is
This is breaking go-get’s ability as a package manager as the support for the
@ahmetb, this issue is about the diagnostic messages. If
That said, from the detail in #29575 it appears that you are, in fact, running in
@bcmills I'm still seeing this despite I'm not running in GOPATH mode.
Here's a minimal repro with go1.12
# unset all env vars, with the exception of $HOME (mock it) and $PATH (inherit it) env -i HOME="$PWD/mock-home" PATH="$PATH" go build -o ./httpstat github.com/davecheney/httpstat go: finding github.com/davecheney/httpstat v1.0.0 go: downloading github.com/davecheney/httpstat v1.0.0 go: extracting github.com/davecheney/httpstat v1.0.0 ... (works)
Would you still suggest I'm in "