When comparing Godep vs Glide, the Slant community recommends Godep for most people. In the question“What is the best dependency manager for golang?” Godep is ranked 2nd while Glide is ranked 3rd. The most important reason people chose Godep is:
Godep will officially be supported and integrated into Go's toolchain from v1.10, according to their [roadmap](https://github.com/golang/dep/wiki/Roadmap).
Ranked in these QuestionsQuestion Ranking
Pros
Pro Official Support from Golang, getting merged in Go v1.10
Godep will officially be supported and integrated into Go's toolchain from v1.10, according to their roadmap.
Pro Very popular
Godep is the most popular dependency manager for Go. Since it's a community-driven project, it means that the documentation is almost always up-to-date and the risk of it being abandoned is quite low.
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.