Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/janos/mmdb
Go package for downloading MaxMind GeoLite2 databases
https://github.com/janos/mmdb
Last synced: about 1 month 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 (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-02-08T16:35:47.000Z (almost 5 years ago)
- Last Synced: 2024-06-21T17:15:18.043Z (5 months ago)
- Language: Go
- Size: 5.86 KB
- Stars: 0
- Watchers: 4
- 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
[![GoDoc](https://godoc.org/resenje.org/mmdb?status.svg)](https://godoc.org/resenje.org/mmdb)
[![Go](https://github.com/janos/mmdb/workflows/Go/badge.svg)](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
```