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

go get faile #934

Closed
abao2016 opened this issue Jul 18, 2020 · 5 comments
Closed

go get faile #934

abao2016 opened this issue Jul 18, 2020 · 5 comments
Labels
question Further information is requested

Comments

@abao2016
Copy link

go get -v github.com/pingcap/parser@v4.0.0-rc.1
go: finding github.com/pingcap/parser v4.0.0-rc.1
go get github.com/pingcap/parser@v4.0.0-rc.1: github.com/pingcap/parser@v4.0.0-rc.1: invalid version: module contains a go.mod file, so major version must be compatible: should be v0 or v1, not v4

@abao2016
Copy link
Author

main.go:6:2: module github.com/pingcap/parser@latest found (v3.1.2+incompatible), but does not contain package github.com/pingcap/parser/test_driver

@abao2016
Copy link
Author

panic: no parser driver (forgotten import?) #43

goroutine 1 [running]:
github.com/pingcap/parser.New(...)
/Users/bytedance/go/pkg/mod/github.com/pingcap/parser@v3.1.2+incompatible/yy_parser.go:112
main.parse(0x13e561e, 0x12, 0xc000123f20, 0x103a7da, 0x1695480)
/Users/bytedance/Documents/bytedance/go/colx/main.go:10 +0x1b6
main.main()
/Users/bytedance/Documents/bytedance/go/colx/main.go:21 +0x3a
exit status 2

@zimulala zimulala added the question Further information is requested label Jul 20, 2020
@zimulala
Copy link
Contributor

PTAL @tiancaiamao

@cncal
Copy link
Contributor

cncal commented Jul 24, 2020

@abao2016 you may take this issue as a reference.

@tangenta
Copy link
Contributor

Duplicate with #812.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants