diff options
author | Emile <hanemile@protonmail.com> | 2020-03-15 22:37:13 +0100 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2020-03-15 22:37:13 +0100 |
commit | 9a2fc8efce8402e27e1d7fa86ef11cf40f5e6427 (patch) | |
tree | ab3d6041504ebb5f20eb309ee66bf49837fedf92 /src/main.go | |
parent | 34a4a6b061276fd3eea4e1ce6b8fa6cc40b7dc72 (diff) |
added another config path
Diffstat (limited to 'src/main.go')
-rw-r--r-- | src/main.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.go b/src/main.go index db0b601..5fbd2e9 100644 --- a/src/main.go +++ b/src/main.go @@ -28,6 +28,7 @@ func initConfig() { // parse the config viper.SetConfigName("config") viper.AddConfigPath(".") + viper.AddConfigPath("/go/src/app/") viper.AutomaticEnv() // Fix nested keys don't work with . |