code: func EnvVarsToMap(envs []EnvVar) map[string]string {
  	result := map[string]string{}
  	for _, env := range envs {
  		result[env.Name] = env.Value
  	}
  	return result
  }
docs: // EnvVarsToMap constructs a map of environment name to value from a slice
  // of env vars.