https://github.com/janos/mmdb
Go package for downloading MaxMind GeoLite2 databases
https://github.com/janos/mmdb
Last synced: 3 months ago
JSON representation
Go package for downloading MaxMind GeoLite2 databases
- Host: GitHub
- URL: https://github.com/janos/mmdb
- Owner: janos
- License: bsd-3-clause
- Created: 2018-01-21T18:16:35.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-02-08T16:35:47.000Z (over 5 years ago)
- Last Synced: 2025-03-18T18:55:01.129Z (3 months ago)
- Language: Go
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go package for downloading MaxMind GeoLite2 database
[](https://godoc.org/resenje.org/mmdb)
[](https://github.com/janos/mmdb/actions?query=workflow%3AGo)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
```sh
go get resenje.org/mmdb
```