diff options
Diffstat (limited to 'structs.go')
-rw-r--r-- | structs.go | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/structs.go b/structs.go deleted file mode 100644 index 8b53fe9..0000000 --- a/structs.go +++ /dev/null @@ -1,25 +0,0 @@ -package main - -type geoipresult struct { - Query string `json:"query"` - Status string `json:"status"` - Country string `json:"country"` - CountryCode string `json:"countryCode"` - Region string `json:"region"` - RegionName string `json:"regionName"` - City string `json:"city"` - Zip string `json:"zip"` - Lat float64 `json:"lat"` - Lon float64 `json:"lon"` - Timezone string `json:"timezone"` - Isp string `json:"isp"` - Org string `json:"org"` - As string `json:"as"` -} - -type location struct { - key string `json:"key"` - latitude float64 `json:"latitude"` - longitude float64 `json:"longitude"` - name string `json:"name"` -} |