@@ -11,20 +11,14 @@ type (
1111 resty * resty.Client
1212 }
1313
14- Currency struct {
15- Name string `json:"name"`
16- Code string `json:"code"`
17- Symbol string `json:"symbol"`
18- }
19-
2014 Organization struct {
2115 Name string `json:"name"`
2216 }
2317
2418 Flag struct {
25- Image string `json:"image "`
26- Emoji string `json:"emoji "`
27- EmojiUnicode string `json:"emoji_unicode "`
19+ SVG string `json:"svg "`
20+ PNG string `json:"png "`
21+ Emoji string `json:"emoji "`
2822 }
2923
3024 TimeZone struct {
@@ -35,11 +29,6 @@ type (
3529 Time time.Time `json:"time"`
3630 }
3731
38- Language struct {
39- Name string `json:"name"`
40- Code string `json:"code"`
41- }
42-
4332 AS struct {
4433 Number int `json:"number"`
4534 Name string `json:"name"`
6453 Longitude float64 `json:"longitude"`
6554 Organization * Organization `json:"organization"`
6655 Flag * Flag `json:"flag"`
67- Currency * Currency `json:"currency "`
56+ Currencies [] string `json:"currencies "`
6857 TimeZone * TimeZone `json:"time_zone"`
69- Language []* Language `json:"languages"`
58+ Language []string `json:"languages"`
7059 AS * AS `json:"as"`
7160 Flags []string `json:"flags"`
7261 }
0 commit comments