Skip to content

Commit 4f6d9de

Browse files
committed
Bumped v1
Signed-off-by: Vishal Rana <vr@labstack.com>
1 parent 4771e61 commit 4f6d9de

File tree

2 files changed

+20
-31
lines changed

2 files changed

+20
-31
lines changed

.idea/workspace.xml

+15-15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ip/ip.go

+5-16
Original file line numberDiff line numberDiff line change
@@ -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"`
@@ -64,9 +53,9 @@ type (
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

Comments
 (0)