summaryrefslogtreecommitdiff
path: root/crawler/struct.go
diff options
context:
space:
mode:
Diffstat (limited to 'crawler/struct.go')
-rw-r--r--crawler/struct.go32
1 files changed, 32 insertions, 0 deletions
diff --git a/crawler/struct.go b/crawler/struct.go
new file mode 100644
index 0000000..1965c2e
--- /dev/null
+++ b/crawler/struct.go
@@ -0,0 +1,32 @@
+package main
+
+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
+}