validate icon indicating copy to clipboard operation
validate copied to clipboard

version tag v2.1 not exists in the repo

Open telnet2 opened this issue 1 year ago • 0 comments

It looks like v2.1.0 is removed from this repo but that version is still served from proxy.golang.org, which causes inconsistent go mod tidy behavior depending on GOPROXY env variable.

With GOPROXY='https://proxy.golang.org,direct', go get -u gopkg.in/dealancer/validate.v2@latest finds gopkg.in/dealancer/validate.v2 v2.1.0.

However, go mod tidy fails with GOPROXY=direct with the following error message.

go: gopkg.in/dealancer/[email protected]: reading gopkg.in/dealancer/validate.v2/go.mod at revision v2.1.0: unknown revision v2.1.0

Since many projects depend on go proxy, would it be better to create v2.1 or v2.2?

telnet2 avatar Jul 08 '24 22:07 telnet2