mgo dependency?
karnauskas opened this issue · 3 comments
karnauskas commented
go mod
is picking up dependencies which are not used anywhere in the code.
eg following:
gopkg.in/mgo.v2
takeda commented
go mod why
is showing me this:
github.com/juju/errors.test
github.com/juju/testing/checkers
gopkg.in/mgo.v2/bson```
karnauskas commented
It's defined in here https://github.com/juju/errors/blob/master/dependencies.tsv#L4 Why?
howbazaar commented
I think it is a transitive dependency due to some of the testing helpers from juju/testing.