We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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 go version go1.17 darwin/arm64
go env
$ go env GO111MODULE="on" GOARCH="arm64" GOBIN="/bin" GOCACHE="/Users/wang/Library/Caches/go-build" GOENV="/Users/wang/Library/Application Support/go/env" GOEXE="" GOEXPERIMENT="" GOFLAGS="" GOHOSTARCH="arm64" GOHOSTOS="darwin" GOINSECURE="" GOMODCACHE="/Users/wang/go/pkg/mod" GONOPROXY="gitlab.hexcloud.cn" GONOSUMDB="gitlab.hexcloud.cn" GOOS="darwin" GOPATH="/Users/wang/go" GOPRIVATE="gitlab.hexcloud.cn" GOPROXY="https://goproxy.io,direct" GOROOT="/usr/local/go" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/usr/local/go/pkg/tool/darwin_arm64" GOVCS="" GOVERSION="go1.17" GCCGO="gccgo" AR="ar" CC="clang" CXX="clang++" CGO_ENABLED="1" GOMOD="/dev/null" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/fc/5_f38pyn6k915kw7_vvfjhrc0000gn/T/go-build1093564855=/tmp/go-build -gno-record-gcc-switches -fno-common" GOROOT/bin/go version: go version go1.17 darwin/arm64 GOROOT/bin/go tool compile -V: compile version go1.17 uname -v: Darwin Kernel Version 20.6.0: Wed Jun 23 00:26:27 PDT 2021; root:xnu-7195.141.2~5/RELEASE_ARM64_T8101 ProductName: macOS ProductVersion: 11.5.1 BuildVersion: 20G80 lldb --version: lldb-1205.0.28.2 Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57)
run go --version on command line
go --version
flag provided but not defined: --version Go is a tool for managing Go source code.
flag provided but not defined: -version Go is a tool for managing Go source code.
The text was updated successfully, but these errors were encountered:
Go flags don't differentiate between short and long
Sorry, something went wrong.
No branches or pull requests
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
run
go --version
on command lineWhat did you expect to see?
flag provided but not defined: --version
Go is a tool for managing Go source code.
What did you see instead?
flag provided but not defined: -version
Go is a tool for managing Go source code.
The text was updated successfully, but these errors were encountered: