November 2017
Intermediate to advanced
670 pages
17h 35m
English
When I started developing in Go, I used the go get tool. Here's a snippet from its help message:
go get --help...When checking out or updating a package, get looks for a branch or tag that matches the locally installed version of Go. The most important rule is that if the local installation is running version "go1", getsearches for a branch or tag named "go1". If no such version exists it retrieves the default branch of the package...
I soon learned that it would get the most recent version of all packages. Not what I wanted.
I was looking for something more like Ruby's Gemfile or the npm package manager where I could specify the specific version of each package and create a .lock file to keep it from changing every time I ...