Skip to content

Instantly share code, notes, and snippets.

@srfrnk
Created July 27, 2019 15:10
Show Gist options
  • Save srfrnk/346b2b45c0736f4453d6a57a5a62e26c to your computer and use it in GitHub Desktop.
Save srfrnk/346b2b45c0736f4453d6a57a5a62e26c to your computer and use it in GitHub Desktop.
if v.EnvRef.Name != "" {
value := os.Getenv(v.EnvRef.Name)
return value, nil
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment