go install golang.org/x/tools/cmd/goimports@latest
What did you see happen?
go: golang.org/x/tools/cmd/goimports@latest (in golang.org/x/tools@v0.25.0): go.mod:3: invalid go version '1.22.0': must match format 1.23
What did you expect to see?
A successful install.
This works: go install golang.org/x/tools/cmd/goimports@v0.24.0
This doesn't work: go install golang.org/x/tools/cmd/goimports@v0.24.0
Go version
go version go1.20.14 darwin/arm64
Output of
go env
in your module/workspace:What did you do?
go install golang.org/x/tools/cmd/goimports@latest
What did you see happen?
go: golang.org/x/tools/cmd/goimports@latest (in golang.org/x/tools@v0.25.0): go.mod:3: invalid go version '1.22.0': must match format 1.23
What did you expect to see?
A successful install. This works: go install golang.org/x/tools/cmd/goimports@v0.24.0 This doesn't work: go install golang.org/x/tools/cmd/goimports@v0.24.0