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

Compatible adaptation govendor #123

Closed
sallelujah opened this issue Aug 11, 2021 · 4 comments
Closed

Compatible adaptation govendor #123

sallelujah opened this issue Aug 11, 2021 · 4 comments

Comments

@sallelujah
Copy link

sallelujah commented Aug 11, 2021

Although i'm updateted go version to 1.55.11, but still using go vendor, i'm getting error when run my code local as follow:
cannot find package "github.com/vesoft-inc/nebula-go/v2" in any of: /Users/xxx/go/src/gitlab.xxx.com/xxx/my-proj/vendor/github.com/vesoft-inc/nebula-go/v2 (vendor tree) /usr/local/Cellar/go/go1.15.11/src/github.com/vesoft-inc/nebula-go/v2 (from $GOROOT) /Users/xxx/go/src/github.com/vesoft-inc/nebula-go/v2 (from $GOPATH)

so, i'm still want to use govendor to manage my go repo
but how can i do to avoid this error when using v2.0.0-ga branch ?

thx

@wey-gu
Copy link
Contributor

wey-gu commented Aug 12, 2021

Could you help take a look at sallelujah's issue? @Aiee @jievince Thanks :)

@sallelujah
Copy link
Author

Could you help take a look at sallelujah's issue? @Aiee @jievince Thanks :)

got error just like this when i'm using golang version1.15.11, with GOPATH and govendor mode
image

@sallelujah
Copy link
Author

sallelujah commented Aug 15, 2021

uh, may be i had found the command:
govendor fetch github.com/vesoft-inc/[email protected]

@Aiee
Copy link
Contributor

Aiee commented Aug 16, 2021

uh, may be i had found the command:
govendor fetch github.com/vesoft-inc/[email protected]

Good job for the solution!
Though I want to mention that the go vendor's official repo has been archived, and the author has suggested using go mod instead.

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

3 participants