Go package for downloading MaxMind GeoLite2 databases
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.travis.yml
LICENSE
README.md
go.mod
mmdb.go
mmdb_test.go

README.md

Go package for downloading MaxMind GeoLite2 database

GoDoc Build Status

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