/mmdb

Go package for downloading MaxMind GeoLite2 databases

Primary LanguageGoBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Go package for downloading MaxMind GeoLite2 database

GoDoc Go

Functions in this package are downloading MaxMind Geolite2 tar archives, extracting the database file from it to a provided file name, and saving MD5 sum of tar archive in a file in the same directory as the database file. MD5 sum is used for checking if the database is updated on the next function call.

Installation

go get resenje.org/mmdb