Skip to content

Commit

Permalink
Bumped v1
Browse files Browse the repository at this point in the history
Signed-off-by: Vishal Rana <vr@labstack.com>
  • Loading branch information
vishr committed Jul 31, 2019
1 parent 4771e61 commit 4f6d9de
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 31 deletions.
30 changes: 15 additions & 15 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 5 additions & 16 deletions ip/ip.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,14 @@ type (
resty *resty.Client
}

Currency struct {
Name string `json:"name"`
Code string `json:"code"`
Symbol string `json:"symbol"`
}

Organization struct {
Name string `json:"name"`
}

Flag struct {
Image string `json:"image"`
Emoji string `json:"emoji"`
EmojiUnicode string `json:"emoji_unicode"`
SVG string `json:"svg"`
PNG string `json:"png"`
Emoji string `json:"emoji"`
}

TimeZone struct {
Expand All @@ -35,11 +29,6 @@ type (
Time time.Time `json:"time"`
}

Language struct {
Name string `json:"name"`
Code string `json:"code"`
}

AS struct {
Number int `json:"number"`
Name string `json:"name"`
Expand All @@ -64,9 +53,9 @@ type (
Longitude float64 `json:"longitude"`
Organization *Organization `json:"organization"`
Flag *Flag `json:"flag"`
Currency *Currency `json:"currency"`
Currencies []string `json:"currencies"`
TimeZone *TimeZone `json:"time_zone"`
Language []*Language `json:"languages"`
Language []string `json:"languages"`
AS *AS `json:"as"`
Flags []string `json:"flags"`
}
Expand Down

0 comments on commit 4f6d9de

Please sign in to comment.