about summary refs log tree commit diff
path: root/structs.go
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2020-01-27 20:13:15 +0100
committerEmile <hanemile@protonmail.com>2020-01-27 20:13:15 +0100
commit651f15d9b8bde1b024f97a42e92634afdc1eeda7 (patch)
treec6dfb94751084d720559c04563b35d31ae9f074a /structs.go
parent7be2a6d747a767d016b976de60ce2bb21d3a5203 (diff)
moved the source into an own folder
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go25
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"`
-}