Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oschwald/maxminddb-golang
MaxMind DB Reader for Go
https://github.com/oschwald/maxminddb-golang
geoip geoip2 geolocation go ip-address maxmind maxmind-db
Last synced: 26 days ago
JSON representation
MaxMind DB Reader for Go
- Host: GitHub
- URL: https://github.com/oschwald/maxminddb-golang
- Owner: oschwald
- License: isc
- Created: 2014-02-16T23:35:39.000Z (over 10 years ago)
- Default Branch: main
- Last Pushed: 2024-08-18T23:50:00.000Z (3 months ago)
- Last Synced: 2024-09-05T10:37:55.459Z (2 months ago)
- Topics: geoip, geoip2, geolocation, go, ip-address, maxmind, maxmind-db
- Language: Go
- Size: 352 KB
- Stars: 586
- Watchers: 16
- Forks: 99
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-go - MaxMind DB Reader - MaxMind DB Reader for Go (SQL Builders)
README
# MaxMind DB Reader for Go #
[![Go Reference](https://pkg.go.dev/badge/github.com/oschwald/maxminddb-golang/v2.svg)](https://pkg.go.dev/github.com/oschwald/maxminddb-golang/v2)
This is a Go reader for the MaxMind DB format. Although this can be used to
read [GeoLite2](http://dev.maxmind.com/geoip/geoip2/geolite2/) and
[GeoIP2](https://www.maxmind.com/en/geoip2-databases) databases,
[geoip2](https://github.com/oschwald/geoip2-golang) provides a higher-level
API for doing so.This is not an official MaxMind API.
## Installation ##
```
go get github.com/oschwald/maxminddb-golang/v2
```## Usage ##
[See GoDoc](http://godoc.org/github.com/oschwald/maxminddb-golang) for
documentation and examples.## Examples ##
See [GoDoc](http://godoc.org/github.com/oschwald/maxminddb-golang) or
`example_test.go` for examples.## Contributing ##
Contributions welcome! Please fork the repository and open a pull request
with your changes.## License ##
This is free software, licensed under the ISC License.