summaryrefslogtreecommitdiff
path: root/crawler/main.go
diff options
context:
space:
mode:
authorhorus2018-02-20 17:15:58 +0100
committerhorus2018-02-20 17:15:58 +0100
commitff9790d2e5c3482ccd6109adac475a9868fc0ab6 (patch)
tree3bc0d0727eaeb45b09199b6a711b5d13b3041ade /crawler/main.go
parent4d3d10f634e872d0d4f27311c53f66680e574ad3 (diff)
downloadalkobote-ff9790d2e5c3482ccd6109adac475a9868fc0ab6.tar.gz
Refactoring + adds a more granular log level setting. (crawler)
Diffstat (limited to 'crawler/main.go')
-rw-r--r--crawler/main.go31
1 files changed, 0 insertions, 31 deletions
diff --git a/crawler/main.go b/crawler/main.go
index b75c21a..8370db5 100644
--- a/crawler/main.go
+++ b/crawler/main.go
@@ -21,37 +21,6 @@ type App struct {
Debug bool
}
-type Angebot struct {
- Id int
- Name string
- Abv float32
- Volume float32
- Age int
- Shop int
- Url string
- Short_url string
- Original_price int
- Discounted_price int
- Base_price int
- Image_url string
- Spirit_type string
- Website string
- Valid_until int
-
- error_msg string
- error_ctx string
-}
-
-type Shop struct {
- Id int
- Name string
- Url string
- Short_url string
- Logo_url string
- Shipping_costs int
- Free_shipping string
-}
-
func main() {
var err error