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