gookit / config

📝 Go configuration manage(load,get,set,export). support JSON, YAML, TOML, Properties, INI, HCL, ENV and Flags. Multi file load, data override merge, parse ENV var. Go应用配置加载管理,支持多种格式,多文件加载,远程文件加载,支持数据合并,解析环境变量名

Home Page:https://pkg.go.dev/github.com/gookit/config/v2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support alternative syntax for defining default values for environment variables

DeepDiver1975 opened this issue · comments

Would it be possible to support an alternative syntax for defining default values for env vars?

To be more precise supporting docker compose syntax is what I have in mind:
https://docs.docker.com/compose/environment-variables/env-file/#interpolation

THX a lot

(Happy to contribute in case this is of interest)

related #157