Install golang-github-oschwald-geoip2-golang-dev by entering the following commands in the terminal:
sudo apt update sudo apt install golang-github-oschwald-geoip2-golang-dev
Description:
Unofficial MaxMind GeoIP2 Reader for Go
This library reads MaxMind GeoLite2 and GeoIP2 databases. It is built using the Go maxminddb reader. All data for the database record is decoded using this library. 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.
Homepage: https://github.com/oschwald/geoip2-golang
Version: 1.1.0-4
Section: universe/devel