Package: wnpp Severity: wishlist Owner: Eric Dorland <[email protected]>
* Package name : golang-github-oschwald-geoip2-golang-v2 Version : 2.1.0-1 Upstream Author : Gregory Oschwald * URL : https://github.com/oschwald/geoip2-golang * License : ISC Programming Lang: Go Description : Unofficial MaxMind GeoIP2 Reader for Go GeoIP2 Reader for Go . This library reads MaxMind GeoLite2 (https://dev.maxmind.com/geoip/geoip2/geolite2/) and GeoIP2 (https://www.maxmind.com/en/geolocation_landing) databases. . This library is built using the Go maxminddb reader (https://github.com/oschwald/maxminddb-golang). All data for the database record is decoded using this library. Version 2.0 provides significant performance improvements with 56% fewer allocations and 34% less memory usage compared to v1. Version 2.0 also adds Network and IPAddress fields to all result structs, and includes a HasData() method to easily check if data was found. If you only need several fields, you may get superior performance by using maxminddb's Lookup directly with a result struct that only contains the required fields. (See example_test.go (https://github.com/oschwald/maxminddb-golang/blob/v2/example_test.go) in the maxminddb repository for an example of this.) Necessary dependency for https://codeberg.org/miekg/dns. The v1 is already packaged in debian but the import path has changed.

