We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
go version
$ go version go version go1.12.7 darwin/amd64
Yes.
go env
$ go env
$ go vet github.com/ialidzhikov/gomod-example go: finding github.com/ghodss/yaml v0.0.0-20180820084758-c7ce16629ff4 go: finding github.com/kr/pretty v0.1.0 go: finding gopkg.in/yaml.v2 v2.2.2 go: finding gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127
go vet does module resolution and requites network connectivity. Running with GOPROXY=off:
go vet
GOPROXY=off
$ GOPROXY=off go vet github.com/ialidzhikov/gomod-example go: gopkg.in/yaml.v2@v2.2.2: module lookup disabled by GOPROXY=off go: github.com/kr/pretty@v0.1.0: module lookup disabled by GOPROXY=off go: github.com/ghodss/yaml@v0.0.0-20180820084758-c7ce16629ff4: module lookup disabled by GOPROXY=off go: gopkg.in/check.v1@v1.0.0-20180628173108-788fd7840127: module lookup disabled by GOPROXY=off go: error loading module requirements
I would expect from a tools such as go vet that performs static checks to do not require module resolution/network connectivity.
The text was updated successfully, but these errors were encountered:
Duplicate of #27227? I'm pretty sure that go vet loads packages like other go commands.
go
Sorry, something went wrong.
Duplicate of #27227
No branches or pull requests
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?
What did you expect to see?
go vet
does module resolution and requites network connectivity. Running withGOPROXY=off
:I would expect from a tools such as
go vet
that performs static checks to do not require module resolution/network connectivity.What did you see instead?
The text was updated successfully, but these errors were encountered: