-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Cobra and VGO? #756
Comments
Cobra generator only works in your |
@jharshman that will work for me on a personal project, but for my work projects that's not really an option. Other people shouldn't have to deal with that nuance. Additionally, Go's roadmap includes completely abandoning the use of a |
@andrewmeissner I agree, although I still use that workaround at work :). |
Hi, this should also resolve issue #720 |
@noandrea @andrewmeissner all tests have passed on #817 . Just waiting review and merge. |
I wonder if I'm maybe missing something...
When I run
cobra help init
, this is what I see:If I'm reading that correctly, I should be able to run
cobra init myApp
and have cobra create the structure in the current directory. This isn't the case.It seems to always create it in the
GOPATH
. I'm hoping to be able to use go 1.11's dependency manager (vgo) with cobra, vgo doesn't work in theGOPATH
and it looks like cobra only works in theGOPATH
. Am I missing something blazingly apparent? If not, are there plans to make cobra compatible with go 1.11's built in dependency manager?Thanks!
The text was updated successfully, but these errors were encountered: