Go Package Management
dep / Govendor / Godep
dep https://github.com/golang/dep
https://github.com/golang/dep/blob/master/docs/FAQ.md#does-dep-replace-go-get
dep vs. go get
go get: I want to download the source code for a go project so that I can work on it myself, or to install a tool. This clones the repo under GOPATH for all to use.
dep ensure:I have imported a new dependency in my code and want to download the dependency so I can start using it. My workflow is “add the import to the code, and then run dep ensure so that the manifest/lock/vendor are updated”.
[Read More]