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
v1.0.8
yes
go env
$ go env GO111MODULE='on' GOARCH='arm64' GOBIN='' GOCACHE='/Users/tyanxie/Library/Caches/go-build' GOENV='/Users/tyanxie/Library/Application Support/go/env' GOEXE='' GOEXPERIMENT='' GOFLAGS='' GOHOSTARCH='arm64' GOHOSTOS='darwin' GOINSECURE='' GOMODCACHE='/Users/tyanxie/Projects/go/pkg/mod' GONOPROXY='' GONOSUMDB='' GOOS='darwin' GOPATH='/Users/tyanxie/Projects/go' GOPRIVATE='' GOPROXY='https://goproxy.cn,direct' GOROOT='/Users/tyanxie/DevTools/gos/go1.22.2' GOSUMDB='sum.golang.org' GOTMPDIR='' GOTOOLCHAIN='auto' GOTOOLDIR='/Users/tyanxie/DevTools/gos/go1.22.2/pkg/tool/darwin_arm64' GOVCS='' GOVERSION='go1.22.2' GCCGO='gccgo' AR='ar' CC='clang' CXX='clang++' CGO_ENABLED='1' GOMOD='/dev/null' 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 -ffile-prefix-map=/var/folders/z8/0hqvm5bx7058y4tghsqv9q2h0000gn/T/go-build2085974099=/tmp/go-build -gno-record-gcc-switches -fno-common'
run trpc setup
trpc setup
install mockgen command-line success
install mockgen command-line failed
maybe the installation path is set to ~/go/bin, but I expected $(go env GOPATH)/bin, like what go install does by default
~/go/bin
$(go env GOPATH)/bin
go install
The text was updated successfully, but these errors were encountered:
@tyanxie Try https://github.com/trpc-group/trpc-cmdline/releases/tag/v1.0.9
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
What version of trpc-cmdline are you using?
v1.0.8
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
run
trpc setup
What did you expect to see?
install mockgen command-line success
What did you see instead?
install mockgen command-line failed
My guess
maybe the installation path is set to
~/go/bin
, but I expected$(go env GOPATH)/bin
, like whatgo install
does by defaultThe text was updated successfully, but these errors were encountered: