top
(README.md)
# MaxMind DB Reader for Go #

This is a fork that uses [mmap-go](https://github.com/edsrzf/mmap-go), a portable mmap implementation instead of the syscall version that only works in Linux.

## Original Readme ##

[![Build Status](https://travis-ci.org/oschwald/maxminddb-golang.png?branch=master)](https://travis-ci.org/oschwald/maxminddb-golang)
[![GoDoc](https://godoc.org/github.com/oschwald/maxminddb-golang?status.png)](https://godoc.org/github.com/oschwald/maxminddb-golang)


This is a Go reader for the MaxMind DB format. This can be used to read
[GeoLite2](http://dev.maxmind.com/geoip/geoip2/geolite2/) and
[GeoIP2](http://www.maxmind.com/en/geolocation_landing) databases.

This is not an official MaxMind API.

## Installation ##

```
go get github.com/oschwald/maxminddb-golang
```

## 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 Apache License, Version 2.0.

Imports 1 package(s)

  1. github.com/edsrzf/mmap-go

Test imports 2 package(s)

  1. github.com/oschwald/maxminddb-golang
  2. launchpad.net/gocheck