-
Notifications
You must be signed in to change notification settings - Fork 143
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
dep ensure is not working #169
Comments
@fabianTMC What version of golang and dep are you using. I'm using a build from master and it works. You may have another version that doesn't know how to handle go modules
|
I'm having what looks to be the same issue:
I'm not using Go Modules so I'm importing mailgun with:
but when I run
Followed by a lot of version failures because of my constraint. If I remove the version constraint The only solution I've been able to find is to have Dep ignore the mailgun package by adding this to the
And adding |
@JDiPierro unfortunately go dep has an outstanding bug golang/dep#1963 and is not compatible with versioned go modules. From looking at the go dep repo it appears the project has stalled and I wouldn't expect a fix from them any time soon. You might want to consider switching your project to go modules. |
If I try
dep ensure -add github.com/mailgun/mailgun-go
ordep ensure -add github.com/mailgun/mailgun-go/v3
, I get the following error:The text was updated successfully, but these errors were encountered: