Go: GOPATH

I am following this youtube course link to learn Go programming and will document all the learning in this series of blog posts.

To get more info on Go commands: go help

The GOPATH environment variable lists places to look for the Go code. If the env is not set then it defaults to a subdirectory name go in the user's home directory.

To get the current GOPATH:

go env GOPATH