diff --git a/cfg/config.go b/pkg/cfg/config.go similarity index 90% rename from cfg/config.go rename to pkg/cfg/config.go index b30ea0c..49ab3af 100644 --- a/cfg/config.go +++ b/pkg/cfg/config.go @@ -17,7 +17,7 @@ type TMDB struct { func LoadConfig() (*Config, error) { viper.SetConfigName("config") // name of config file (without extension) - viper.SetConfigType("yml") // REQUIRED if the config file does not have the extension in the name + viper.SetConfigType("yml") // REQUIRED if the config file does not have the extension in the name viper.AddConfigPath(".") viper.AddConfigPath("/app/data")