oschwald/geoip2-golang

Lookup?

nicola-spb opened this issue · 4 comments

How can I do Lookup?
maybe geoip2 should have func GetReader() for this?

I am not clear on what you are trying to do.

I wanna get some fields: timezone, lan and lon without other fields. Can I do it with geo2 or I should use maxminddb-golang?

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.

ok. Thanks.