Lookup?
nicola-spb opened this issue · 4 comments
nicola-spb commented
How can I do Lookup?
maybe geoip2 should have func GetReader() for this?
oschwald commented
I am not clear on what you are trying to do.
nicola-spb commented
I wanna get some fields: timezone, lan and lon without other fields. Can I do it with geo2 or I should use maxminddb-golang?
oschwald commented
If you want to minimize the amount of data looked up, you should use maxminddb
. geoip2
is a higher level API that returns a struct with all the data.
nicola-spb commented
ok. Thanks.