You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 9, 2020. It is now read-only.
It feels natural to use dep ensure -update github.com/pkg/[email protected] to update the constraint of an existing dependency (thus modifying Gopkg.toml)
It would be very useful to have dep ensure -add work irrespective of whether the dependency exists already, and thus behave as -update in the point above, in the case where the dependency already exists.
The two points are related but orthogonal: first is about intuitiveness (use -update to update), the second is about usefulness (I can always use -add).