code: func getGoPath() string {
  	path := os.Getenv("GOPATH")
  	if path == "" {
  		user, err := user.Current()
  		kingpin.FatalIfError(err, "")
  		path = filepath.Join(user.HomeDir, "go")
  	}
  	return path
  }
docs: // Go 1.8 compatible GOPATH.