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
$ go version:go1.15 linux/amd64
$ go env
GO111MODULE="on" GOARCH="amd64" GOBIN="" GOCACHE="/home/edunx/.cache/go-build" GOENV="/home/edunx/.config/go/env" GOHOSTARCH="amd64" GOHOSTOS="linux" GOMODCACHE="/home/edunx/go/3rd/pkg/mod" GOOS="linux" GOPATH="/home/edunx/go/3rd" GOROOT="/home/edunx/go" GOSUMDB="sum.golang.org" GOTOOLDIR="/home/edunx/go/pkg/tool/linux_amd64"
go tool compile -I $GOPATH/pkg/mod -o kafka.o *.go kafka.go:6:2: can't find import: "golang.org/x/time/rate
The text was updated successfully, but these errors were encountered:
You should use go build, not go tool compile directly.
go build
go tool compile
The Go project doesn't use the issue tracker for questions. See https://golang.org/wiki/Questions.
Sorry, something went wrong.
No branches or pull requests
$ go env
can't find import
go tool compile -I $GOPATH/pkg/mod -o kafka.o *.go
kafka.go:6:2: can't find import: "golang.org/x/time/rate
The text was updated successfully, but these errors were encountered: