README ¶ 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} Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func Expand(input interface{}, values map[string]string) (interface{}, error) func ExpandEnv(input interface{}) (interface{}, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Expand ¶ func Expand(input interface{}, values map[string]string) (interface{}, error) func ExpandEnv ¶ func ExpandEnv(input interface{}) (interface{}, error) Types ¶ This section is empty. Source Files ¶ View all Source files expandenv.go Click to show internal directories. Click to hide internal directories.