Install golang-libgeoip-dev by entering the following commands in the terminal:
sudo apt update sudo apt install golang-libgeoip-dev
Description:
Go implementation for lookups against GeoIP files
This is the Go implementation of the Maxmind GeoIP API. It is incomplete and work in progress the initial goal is support only two of the database types – the City Lite and Country Lite. The only supported method is loading the full db on startup into memory (memory cache). . At this point, only IPv4 lookups are supported.
Homepage: https://github.com/nranchev/go-libGeoIP/
Version: 0.0~git20140312.0.c78e8bd-1
Section: universe/devel