-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
check package existence with govendor if installed #1828
Conversation
consider the vendor dir in completion
The problem this PR attempts to solve is not specific to govendor. The right solution to the problem is to parse the output of From https://golang.org/cmd/go/#hdr-Vendor_Directories:
|
@bhcleek but the output of |
To find a package that's only in a vendor directory, the vendor directories in each of the parent directories would need to be searched. |
@bhcleek I understood the
do you mean searching by I don't mean any step-by-step solution. just let me know the preferred or ideal way. I will do further research and test. you may have noticed i sent same pr years ago, but no more feedback due to busy project schedule that makes it impossible to digging on this problem so we continued the thanks a lot. |
Assuming the current file is within GOPATH, I think the right solution would be to walk the directories up to the |
@bhcleek good one! thanks! I'll try that. |
Closing due to inactivity. |
also take the vendor dir into consider at command completing
try to fix #1709