-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodels.go
94 lines (86 loc) · 3.6 KB
/
models.go
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
package main
type DataWorldwide struct {
Country string `json:"country"`
Date string `json:"date"`
Confirmed string `json:"confirmed"`
Deaths string `json:"deaths"`
DeathsPercent string `json:"deaths_percent"`
Recovered string `json:"recovered"`
RecoveredPercent string `json:"recovered_percent"`
Active string `json:"active"`
ActivePercent string `json:"active_percent"`
}
type DataCountries struct {
Country string `json:"country"`
Date string `json:"date"`
Confirmed string `json:"confirmed"`
Deaths string `json:"deaths"`
DeathsPercent string `json:"deaths_percent"`
Recovered string `json:"recovered"`
RecoveredPercent string `json:"recovered_percent"`
Active string `json:"active"`
ActivePercent string `json:"active_percent"`
}
type DataCountriesDelta struct {
Country string `json:"country"`
Date string `json:"date"`
DeltaConfirmed string `json:"delta_confirmed"`
Confirmed string `json:"confirmed"`
DeltaConfirmedPercent string `json:"delta_confirmed_percent"`
DeltaDeaths string `json:"delta_deaths"`
Deaths string `json:"deaths"`
DeltaDeathsPercent string `json:"delta_deaths_percent"`
DeltaRecovered string `json:"delta_recovered"`
Recovered string `json:"recovered"`
DeltaRecoveredPercent string `json:"delta_recovered_percent"`
DeltaActive string `json:"delta_active"`
Active string `json:"active"`
DeltaActivePercent string `json:"delta_active_percent"`
}
type DataConfirmed struct {
Country string `json:"country"`
Date string `json:"date"`
Confirmed string `json:"confirmed"`
ConfirmedPercent string `json:"confirmed_percent"`
TotalConfirmed string `json:"total_confirmed"`
}
type DataDeltaConfirmed struct {
Country string `json:"country"`
Date string `json:"date"`
Confirmed string `json:"confirmed"`
DeltaConfirmed string `json:"delta_confirmed"`
DeltaConfirmedPercent string `json:"delta_confirmed_percent"`
DeltaTotalConfirmed string `json:"delta_total_confirmed"`
}
type DataDeltaActive struct {
Country string `json:"country"`
Date string `json:"date"`
Confirmed string `json:"confirmed"`
Deaths string `json:"deaths"`
Recovered string `json:"recovered"`
Active string `json:"active"`
DeltaActive string `json:"delta_active"`
DeltaActivePercent string `json:"delta_active_percent"`
}
type DataCountriesList struct {
Country string `json:"country"`
}
type DataCountriesDeltaPercent struct {
Country string `json:"country"`
Date string `json:"date"`
DeltaConfirmed string `json:"delta_confirmed"`
Confirmed string `json:"confirmed"`
DeltaConfirmedPercent string `json:"delta_confirmed_percent"`
DeltaDeaths string `json:"delta_deaths"`
Deaths string `json:"deaths"`
DeathsPercent string `json:"deaths_percent"`
DeltaDeathsPercent string `json:"delta_deaths_percent"`
DeltaRecovered string `json:"delta_recovered"`
Recovered string `json:"recovered"`
RecoveredPercent string `json:"recovered_percent"`
DeltaRecoveredPercent string `json:"delta_recovered_percent"`
DeltaActive string `json:"delta_active"`
Active string `json:"active"`
ActivePercent string `json:"active_percent"`
DeltaActivePercent string `json:"delta_active_percent"`
}