github.com/oschwald/geoip2-golang (go): Package geoip2 provides an easy-to-use API for the MaxMind GeoIP2 and GeoLite2 databases; this package does not support GeoIP Legacy databases.  The structs provided by this package match the internal structure of the data in the MaxMind databases.  See github.com/oschwald/maxminddb-golang for more advanced used cases.  Example provides a basic example of using the API. Use of the Country method is analogous to that of the City method.
Keywords: database|geoip|geoip2|geolocation|go|maxmind|maxmind-db