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

包载入问题 #454

Closed
always-waiting opened this issue Dec 4, 2019 · 4 comments
Closed

包载入问题 #454

always-waiting opened this issue Dec 4, 2019 · 4 comments

Comments

@always-waiting
Copy link
Contributor

	github.com/siddontang/go-mysql/canal imports
	github.com/pingcap/parser tested by
	github.com/pingcap/parser.test imports
	github.com/pingcap/tidb/types/parser_driver: module github.com/pingcap/tidb@latest found (v2.0.11+incompatible), but does not contain package github.com/pingcap/tidb/types/parser_driver

这个是在我用go mod tidy后出现的错误,这个问题是怎么会是?请大神们帮忙解答一下,谢谢!

@always-waiting
Copy link
Contributor Author

@siddontang 可以帮我看看这个问题吗?

@always-waiting
Copy link
Contributor Author

GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/user/.cache/go-build"
GOENV="/home/user/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/user/gocode1.13"
GOPRIVATE=""
GOPROXY="https://goproxy.io"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/user/gocode1.13/src/cobra-canal/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build590490588=/tmp/go-build -gno-record-gcc-switches"

上面是我go env的结果

@happen-zhang
Copy link

@always-waiting
Copy link
Contributor Author

@happen-zhang thanks a lot!

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

2 participants