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
Describe the bug
Can't compile KiteX examples code with Go 1.20
Details: I followed the instructions https://www.cloudwego.io/docs/kitex/getting-started/. When trying to compile the hello server & client code, I got the error from another package's go version check:
hello
panic("Unsupported Go version. Supported versions are: 1.15, 1.16, 1.17, 1.18, 1.19") (no value) used as value
To Reproduce
cd kitex-examples/basic/server && go run .
Expected behavior
Server code runs.
Screenshots
Kitex version:
Repo: https://github.com/cloudwego/kitex-examples.git Branch: main SHA: 4331b96
Environment:
package main
GO111MODULE="" GOARCH="amd64" GOBIN="" GOCACHE="/Users/foo/Library/Caches/go-build" GOENV="/Users/foo/Library/Application Support/go/env" GOEXE="" GOEXPERIMENT="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOINSECURE="" GOMODCACHE="/Users/foo/go/pkg/mod" GONOPROXY="" GONOSUMDB="" GOOS="darwin" GOPATH="/Users/foo/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" GOVCS="" GOVERSION="go1.20" GCCGO="gccgo" GOAMD64="v1" AR="ar" CC="clang" CXX="clang++" CGO_ENABLED="1" GOMOD="/Users/foo/fooWorkspace/goKitexExamples/kitex-examples/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 x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/h2/qd6vtkhn59dd5yzk3s4w0mbm0000gn/T/go-build3190407640=/tmp/go-build -gno-record-gcc-switches -fno-common"
Additional context N/A
The text was updated successfully, but these errors were encountered:
Thanks for your feedback.
We'll release a new version supporting 1.20 soon.
For temporary solution, you can replace with choleraehyq/pid@v0.0.16 & cloudwego/frugal@main
cloudwego/kitex#796
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Can't compile KiteX examples code with Go 1.20
Details: I followed the instructions https://www.cloudwego.io/docs/kitex/getting-started/. When trying to compile the
hello
server & client code, I got the error from another package's go version check:panic("Unsupported Go version. Supported versions are: 1.15, 1.16, 1.17, 1.18, 1.19") (no value) used as value
To Reproduce
cd kitex-examples/basic/server && go run .
Expected behavior
Server code runs.
Screenshots
Kitex version:
Repo: https://github.com/cloudwego/kitex-examples.git
Branch: main
SHA: 4331b96
Environment:
package main
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/foo/Library/Caches/go-build"
GOENV="/Users/foo/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/foo/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/foo/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"
GOVCS=""
GOVERSION="go1.20"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/foo/fooWorkspace/goKitexExamples/kitex-examples/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 x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/h2/qd6vtkhn59dd5yzk3s4w0mbm0000gn/T/go-build3190407640=/tmp/go-build -gno-record-gcc-switches -fno-common"
Additional context
N/A
The text was updated successfully, but these errors were encountered: