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

Dot init features and benefits

The dot init solution will do the following:

  1. Create a link to this project root directory in your MY_DEV_DIR directory.
  2. Verify that you are running the correct version of Go.
  3. Verify that you have a src directory (it will create one if you don't have one). 
  4. Simplify references to project-local packages.
  1. Verify that you have a toml config file (if you set USES_TOML_CONFIG_YN to yes). 
  2. Create aliases for your convenience.
  3. Verify that you have glide installed.

In step 1, it's nice to have one place to go MY_DEV_DIR, for example, ~/myprojects to see all the projects I've worked on. I can sort by date and easily delete the links to inactive projects.

Use step 2 to avoid messing with GOPATH, GOROOT, or GOBIN.

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