Skip to Content
Learning Functional Programming in Go
book

Learning Functional Programming in Go

by Lex Sheehan
November 2017
Intermediate to advanced
670 pages
17h 35m
English
Packt Publishing
Content preview from Learning Functional Programming in Go

The go get tool

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Functional Programming

Learning Functional Programming

Jack Widman

Publisher Resources

ISBN: 9781787281394Supplemental Content