Skip to content

airfocusio/go-expandenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-expandenv

Simple helper library to expand environment variables into interface{}. The primary use case it to use it to properly expand environment variables into YAML files while properly supporting multi-line environment variables as well:

standard: ${ENV_1}
as-number: ${ENV_2:number}
as-boolean: ${ENV_3:boolean}
with-fallback: ${ENV_4:-standard}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages