code: func ValidateAppNameEnv(want string) (r results) {
  	if got := os.Getenv(appNameEnv); got != want {
  		r = append(r, fmt.Errorf("%s not set appropriately (need %q, got %q)", appNameEnv, want, got))
  	}
  	return
  }
docs: // ValidateAppNameEnv ensures that the environment variable specifying the
  // entrypoint of this process is set correctly.