Closed elefevre closed 5 years ago
Hm... it might be that this issue was in earlier versions of dep
. I can't seem to be able to reproduce it with newer versions.
For those reading this: use the latest dep
and remember to add
[prune]
unused-packages = true
to your Gopkg.toml
.
We use
viper
on our project, andviper
has a dependency withmagiconair/properties
.When downloading the code for
magiconair/properties
, we also getmagiconair/properties/assert
.This is an issue, because
magiconair/properties/assert
is easily confused withtestify/assert
. In fact, under IntelliJ/Goland,magiconair/properties/assert
is generally what is imported by defaulted when typingassert
. In fact, we regularly need to remove incorrect references tomagiconair/properties/assert
.Is there something that can be done? I'm happy to work on a PR that might offer a fix (presumably by moving files under
assert
to the main folder, plus changing the name of theassert.go
file to something ending in_test.go
).