diff options
| author | horus | 2018-02-14 22:59:35 +0100 |
|---|---|---|
| committer | horus | 2018-02-14 23:00:13 +0100 |
| commit | cd9a8e7b1734efc16d5afd8692e4973cf835bfb3 (patch) | |
| tree | 422742ca86d62da1465fa1d7474eb5c921ec0be0 | |
| parent | 6140c5b7234b97d4a7b4bb26c87d316b3734f777 (diff) | |
| download | alkobote-cd9a8e7b1734efc16d5afd8692e4973cf835bfb3.tar.gz | |
Bugfix. (crawler)
| -rw-r--r-- | crawler/config.go | 2 | ||||
| -rw-r--r-- | crawler/main.go | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/crawler/config.go b/crawler/config.go index b0964f8..329c41b 100644 --- a/crawler/config.go +++ b/crawler/config.go @@ -71,7 +71,7 @@ func (c *Config) setsConfig() { c.DBPort = viper.GetString("DB_Port") c.DBUser = viper.GetString("DB_User") c.DBPassword = viper.GetString("DB_Password") - c.DBDBName = viper.GetString("DB_Name") + c.DBDBName = viper.GetString("DB_DBName") c.DBOptions = viper.GetString("DB_Options") c.DBPath = viper.GetString("DB_Path") c.Debug = viper.GetBool("Debug") diff --git a/crawler/main.go b/crawler/main.go index 15e854c..f4a90b7 100644 --- a/crawler/main.go +++ b/crawler/main.go @@ -43,6 +43,7 @@ type Shop struct { Id int Name string Url string + Short_url string Logo_url string Shipping_costs int Free_shipping string |
