country-geo-locations/pkg/geoloc/models.go
Tom Neuber aa222c9cc3
All checks were successful
continuous-integration/drone/push Build is passing
pkg/geoloc: rename types.go to models.go
2024-03-02 11:49:40 +01:00

12 lines
328 B
Go

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"`
}