Top "Gopath" questions

The GOPATH environment variable is used to specify directories outside of $GOROOT that contain the source for Go projects and their binaries.

What should be the values of GOPATH and GOROOT?

I'm trying to install doozer like this: $ goinstall github.com/ha/doozer I get these errors. goinstall: os: go/build: …

go gopath
golang vendor path cannot find package

I'm building the example program from github.com/tarm/serial. Case 1: It builds ok if the above repo is checked …

go gopath govendor
Cannot do any go command anymore

Before it happened, what I am doing is trying to use the dep to manage my golang code dependency. What …

go command-line-interface homebrew godeps gopath