Open sajal opened 7 years ago
MaxMind site mentions an unofficial Go api for the new GeoIP2 format: https://github.com/oschwald/geoip2-golang
(Haven't check if it requires cgo yet)
+1 Appears to not use cgo. I skimmed over the source, as well as source of https://github.com/oschwald/maxminddb-golang which geoip2-golang uses and dont see any reference to any C library.
github.com/abh/geoip
uses C bindings for maxmind. We should try and find a pure go replacement that performs well. Having cgo dependency makes cross compilation difficult. If we can find one, then we can moveislocalip
into this lib as mentioned in #8