-
Notifications
You must be signed in to change notification settings - Fork 492
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
Cannot find package ".../wangzitian0/..." #5
Comments
I also pulled wangzitian0's repo and that worked. |
@adomokos The two repo are totally same, caused by I'm lazy to write relative path. Govendor should auto download the packages to |
I wonder what I did wrong with govendor, it never pulled in those dependencies. Feel free to close this issue if you think it's not something you would be concerned about. |
I got the same problem and solved it by replacing all the "wangzitian0/golang-gin-starter-kit" to "golang-gin-realworld-example-app" in the application. PS.
|
@mike-jianxin-mo The correct way might need to use relative path here. I did not know the project will fork to two place while I wrote this project, and used absolute path. Sorry for the mistake. |
@wangzitian0 And how might one go about using a relative path? After a quick search, it appears that relative path imports aren't a thing in Go (https://stackoverflow.com/questions/38517593/relative-imports-in-go). All imports must start via the |
this need to be merged asap. This should be followed everytime contributing to a go project: https://splice.com/blog/contributing-open-source-git-repositories-go/ |
I'd like to test drive this project locally. I followed the instructions listed on the README.
Tried to run
go test -v ./... -cover
, but I received this error:Why is the
hello.go
file is referencing a different repo's model here? Was it a incorrect merge? Am I missing something?The text was updated successfully, but these errors were encountered: