Hi, I had a hard trying to find out what kind of data you can get from a IP look up as there was no documentation on it. Couldn't find any info on Maxmind's site either after a quick peek. I ended up using an empty interface{} for Lookup() and print that, to see the available data.
Could you please add some documentation for that? Or I could send you a PR with a file called doc.go or something and make a list of the data for now?
This library is for the database format, not any specific database. If you are looking for a library for the MaxMind GeoIP2/GeoLite2 databases, I would recommend geoip2, which uses this library internally.
Hi, I had a hard trying to find out what kind of data you can get from a IP look up as there was no documentation on it. Couldn't find any info on Maxmind's site either after a quick peek. I ended up using an empty interface{} for
Lookup()
and print that, to see the available data.Could you please add some documentation for that? Or I could send you a PR with a file called
doc.go
or something and make a list of the data for now?For reference: