about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2020-03-15 22:37:13 +0100
committerEmile <hanemile@protonmail.com>2020-03-15 22:37:13 +0100
commit9a2fc8efce8402e27e1d7fa86ef11cf40f5e6427 (patch)
treeab3d6041504ebb5f20eb309ee66bf49837fedf92
parent34a4a6b061276fd3eea4e1ce6b8fa6cc40b7dc72 (diff)
added another config path
-rw-r--r--src/main.go1
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 .