Rework complete project

This commit is contained in:
Tom Neuber 2023-12-19 13:56:03 +01:00
parent 868965a072
commit aebf7447c6
Signed by: tom
GPG key ID: F17EFE4272D89FF6
18 changed files with 2237 additions and 1980 deletions

12
pkg/geoloc/types.go Normal file
View 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"`
}