An easy-to-use API for reading MaxMind GeoIP2 and GeoLite2 databases in Go.
go get github.com/oschwald/geoip2-golangNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Open a GeoIP2 database and look up a city by IP address.
No known issues recorded.
No dependency data recorded yet.