Glide is a package manager for the Go programming language that can greatly ease the chore of package management by supporting package independence between projects, versioning, and non-master branches.
Continue reading “GoLang: Glide for Go language package management”
Using 3rd party packages from github is made very simple in the Go language with the import statement. But one problem is that “go get” will always pull the HEAD of the master branch and there is no way to explicitly specify another branch.
The ultimate answer would be to use a package dependency manager like Glide, which I describe in this article. But if you cannot introduce Glide into your workflow yet then manually populating the vendor directory (enabled by default since 1.6) is a viable alternative.
Continue reading “GoLang: Vendor directory for github branches other than master”