|
@@ -59,6 +59,7 @@ func Init(customConf string) error {
|
|
|
return errors.Wrap(err, `parse "app.ini"`)
|
|
return errors.Wrap(err, `parse "app.ini"`)
|
|
|
}
|
|
}
|
|
|
File.NameMapper = ini.SnackCase
|
|
File.NameMapper = ini.SnackCase
|
|
|
|
|
+ File.ValueMapper = os.ExpandEnv
|
|
|
|
|
|
|
|
if customConf == "" {
|
|
if customConf == "" {
|
|
|
customConf = filepath.Join(CustomDir(), "conf", "app.ini")
|
|
customConf = filepath.Join(CustomDir(), "conf", "app.ini")
|