code: func GoPath() string {
  	gopath := os.Getenv("GOPATH")
  	if gopath == "" {
  		home := os.Getenv("HOME")
  		gopath = filepath.Join(home, "go")
  	}
  	return gopath
  }
docs: // GoPath returns either $GOPATH or the new $HOME/go path
  // introduced with Go 1.8