geoip2
geoip2 copied to clipboard
GeoIP2 Reader for Go
There are now a number of alternative providers of MMDB databases (including the free [Geoacumen](https://github.com/geoacumen/geoacumen-country) database generated from ASN data), but they are unusable with the geoip2 library because it...
I see lots of redundant code in some structure decode class, like `city.go` `country.go` `isp.go` `location.go`. It would be great if we write a code generate tool that generates these...
Is there a way to return only specific attribute and the not the whole attributes? For example in maxmind city i only want city name and country but not subdivision.