code: func GoPath() string {
  	if path := os.Getenv("GOPATH"); path != "" {
  		return path
  	}
  	// https://github.com/golang/go/issues/17262
  	return filepath.Join(os.Getenv("HOME"), "go")
  }
docs: // GoPath returns the current GOPATH.