Skip to content
New issue

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

import/path: issue title #69545

Closed
larspehrsson opened this issue Sep 20, 2024 · 2 comments
Closed

import/path: issue title #69545

larspehrsson opened this issue Sep 20, 2024 · 2 comments

Comments

@larspehrsson
Copy link

Go version

go version go1.20.14 darwin/arm64

Output of go env in your module/workspace:

GO111MODULE=""
GOARCH="arm64"
GOBIN=""
GOCACHE="/Users/larsp/Library/Caches/go-build"
GOENV="/Users/larsp/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="arm64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/larsp/go/pkg/mod"
GONOPROXY="bitbucket.org/xx,gitlab.com/xx-software"
GONOSUMDB="bitbucket.org/xx,gitlab.com/xx-software"
GOOS="darwin"
GOPATH="/Users/larsp/go"
GOPRIVATE="bitbucket.org/xx,gitlab.com/xx-software"
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/opt/homebrew/Cellar/[email protected]/1.20.14/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/opt/homebrew/Cellar/[email protected]/1.20.14/libexec/pkg/tool/darwin_arm64"
GOVCS=""
GOVERSION="go1.20.14"
GCCGO="gccgo"
AR="ar"
CC="cc"
CXX="c++"
CGO_ENABLED="1"
GOMOD="/Users/larsp/code/xxx/go.mod"
GOWORK=""
CGO_CFLAGS="-O2 -g"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-O2 -g"
CGO_FFLAGS="-O2 -g"
CGO_LDFLAGS="-O2 -g"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/t6/sd47q7x17sn89frnh5msqwc40000gp/T/go-build1235379278=/tmp/go-build -gno-record-gcc-switches -fno-common"

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/[email protected]): 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/[email protected]
This doesn't work: go install golang.org/x/tools/cmd/[email protected]

@seankhliao
Copy link
Member

1.20 is no longer a supported version of go

@seankhliao seankhliao closed this as not planned Won't fix, can't repro, duplicate, stale Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants