When comparing govendor vs Glide, the Slant community recommends govendor for most people. In the question“What is the best dependency manager for golang?” govendor is ranked 1st while Glide is ranked 3rd.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Will be familiar to people already used to npm
Glide uses commands similar to npm (install, init, update) so it will be quite familiar to developers already used to npm and the transition will be seamless.
Pro Automatically locks dependecy versions
Glide works similarly to npm. It downloads packages from different sources and locks their versions in place so that other developers working on the same project use the same packages and versions as everyone else.
Cons
Con Support is now deferred to golang/godep
Con No way to automatically update a single dependency
Running glide up
will update all the dependencies found in the vendor file to the latest version. If you want to update only one package to the latest version you cannot add the package name after glide up
. Instead you must manually update the vendor file and set the version for the package you want to update to the latest released version.