summaryrefslogtreecommitdiff
path: root/crawler/struct.go
blob: 1965c2ed7b737cd65427da15ea53ab6dc7db20fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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
}