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 go1.13 darwin/amd64
Yes
go env
GO111MODULE="on" GOARCH="amd64" GOBIN="/Volumes/Repositories/go/bin" GOCACHE="/Users/jlorenzini/Library/Caches/go-build" GOENV="/Users/jlorenzini/Library/Application Support/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GONOPROXY="" GONOSUMDB="" GOOS="darwin" GOPATH="/Volumes/Repositories/go" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/usr/local/go" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64" GCCGO="gccgo" AR="ar" CC="clang" CXX="clang++" CGO_ENABLED="1" GOMOD="/Users/jlorenzini/repos/dep/operator/go.mod" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/8w/7ndx_j6s36x9hm9dns67j21s3hynqn/T/go-build716492838=/tmp/go-build -gno-record-gcc-switches -fno-common"
Within the directory of a golang module, I ran the following command:
go get github.com/golangci/[email protected]
That go get successfully downloaded golangci-lint and updated my go.mod with the appropriate requirements.
go: finding github.com v1.17.1 go: finding github.com/golangci v1.17.1 verifying github.com/go-critic/[email protected]/go.mod: github.com/go-critic/[email protected]/go.mod: reading https://sum.golang.org/lookup/github.com/go-critic/[email protected]: 410 Gone
If I set the following environment variables, then the go get is successful.
export GOPROXY=direct GOSUMDB=off
The text was updated successfully, but these errors were encountered:
https://sum.golang.org/lookup/github.com/go-critic/[email protected]:
not found: github.com/go-critic/[email protected]: invalid pseudo-version: does not match version-control timestamp (2019-05-26T07:48:19Z)
This seems to be a tampered module version.
Sorry, something went wrong.
The correct pseudo-version of go-critic/go-critic@1df3008 should be: v0.0.0-20190526074819-1df300866540.
v0.0.0-20190526074819-1df300866540
You can submit an issue to golangci/golangci-lint to have its author correct its go.mod file (and go.sum of course).
go.mod
go.sum
Thanks @aofei
This is a duplicate of golangci/golangci-lint#652
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?
Within the directory of a golang module, I ran the following command:
What did you expect to see?
That go get successfully downloaded golangci-lint and updated my go.mod with the appropriate requirements.
What did you see instead?
If I set the following environment variables, then the go get is successful.
The text was updated successfully, but these errors were encountered: