pkg/geoloc: rename types.go to models.go
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
20b21c0221
commit
aa222c9cc3
1 changed files with 0 additions and 0 deletions
12
pkg/geoloc/models.go
Normal file
12
pkg/geoloc/models.go
Normal file
|
@ -0,0 +1,12 @@
|
|||
package geoloc
|
||||
|
||||
type IPInfo struct {
|
||||
IPNumFrom uint `json:"ip_num_min"`
|
||||
IPNumTo uint `json:"ip_num_max"`
|
||||
Code string `json:"code"`
|
||||
Country string `json:"country"`
|
||||
State string `json:"state"`
|
||||
City string `json:"city"`
|
||||
Latitude float32 `json:"latitude"`
|
||||
Longitude float32 `json:"longitude"`
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue