summaryrefslogtreecommitdiff
path: root/crawler/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'crawler/config.go')
-rw-r--r--crawler/config.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/crawler/config.go b/crawler/config.go
index 552d57a..b0964f8 100644
--- a/crawler/config.go
+++ b/crawler/config.go
@@ -23,12 +23,12 @@ type Config struct {
// Parses the configuration and sets the configuration struct.
func (c *Config) parseConfig(configFile string) {
- viper.SetDefault("DBDriver", "mysql")
- viper.SetDefault("DBDBName", "alkobote")
- viper.SetDefault("DBHost", "localhost")
- viper.SetDefault("DBPort", "3306")
+ viper.SetDefault("DB_Driver", "mysql")
+ viper.SetDefault("DB_DBName", "alkobote")
+ viper.SetDefault("DB_Host", "localhost")
+ viper.SetDefault("DB_Port", "3306")
- viper.SetDefault("DBPath", "./alkobote.db")
+ viper.SetDefault("DB_Path", "./alkobote.db")
viper.SetDefault("Debug", false)