3 ms·
First a note, godep is a different tool then the one you mean [1], that does the same. > dep still has nasty bugs, but in general these are comparable or fewer
by naibafo 9y ago
First a note, godep is a different tool then the one you mean [1], that does the same.
> dep still has nasty bugs, but in general these are comparable or fewer to other tools out there.
(From the Github readme)
I started a project about two months ago and wanted to use Dep, however there were a few show stopping issues for that. Most prominently Go has issues with upppercase/lowercase repositories, meaning if one of your dependencies imports github.com/Sirupsen/logrus, and you or another dependency imports github.com/sirupsen/logrus your code won't compile, no matter if you are on a case sensitive system or a case-insensitive system. [2] The aforementioned logger made a switch in the naming which caused problems while most were migrating the import. The docker distribution in its latest stable version still uses uppercase, while others use the lowercase.
Dep follows the Go specifications and at the moment just throws an error, before, they didn't handle it at all.
So I had to resort to a different dependency management for now, which did some linking to fix the situation.
[1]https://github.com/tools/godep https://github.com/tools/godep
[2]https://github.com/golang/dep/issues/1010 https://github.com/golang/dep/issues/1010