summaryrefslogtreecommitdiff
path: root/crawler/main.go
diff options
context:
space:
mode:
authorhorus2018-02-19 22:53:26 +0100
committerhorus2018-02-19 22:53:26 +0100
commit13b1e31cb91f5af98951f4353d49429f356d7f12 (patch)
tree9831f50adbddf945649f256b5cfb86f30e764086 /crawler/main.go
parentdd48edbc9834eef46b6590439a61c7fa0242c8db (diff)
downloadalkobote-13b1e31cb91f5af98951f4353d49429f356d7f12.tar.gz
Saving scraped offers runs in Tx. (crawler)
Diffstat (limited to 'crawler/main.go')
-rw-r--r--crawler/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawler/main.go b/crawler/main.go
index b75c21a..c44d8e9 100644
--- a/crawler/main.go
+++ b/crawler/main.go
@@ -17,6 +17,7 @@ type App struct {
Shops []Shop
Config *Config
DB *sqlx.DB
+ Tx *sqlx.Tx
Now int64
Debug bool
}