diff options
| author | horus | 2018-02-19 22:53:26 +0100 |
|---|---|---|
| committer | horus | 2018-02-19 22:53:26 +0100 |
| commit | 13b1e31cb91f5af98951f4353d49429f356d7f12 (patch) | |
| tree | 9831f50adbddf945649f256b5cfb86f30e764086 /crawler/main.go | |
| parent | dd48edbc9834eef46b6590439a61c7fa0242c8db (diff) | |
| download | alkobote-13b1e31cb91f5af98951f4353d49429f356d7f12.tar.gz | |
Saving scraped offers runs in Tx. (crawler)
Diffstat (limited to 'crawler/main.go')
| -rw-r--r-- | crawler/main.go | 1 |
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 } |
