Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
.github/workflows/ | H | 20-Aug-2020 | - | |||
test-data/ | H | 20-Aug-2020 | - | |||
.gitignore | H A D | 20-Aug-2020 | 27 | |||
.gitmodules | H A D | 20-Aug-2020 | 91 | |||
.golangci.toml | H A D | 20-Aug-2020 | 968 | |||
LICENSE | H A D | 20-Aug-2020 | 772 | |||
README.md | H A D | 20-Aug-2020 | 995 | |||
decoder.go | H A D | 20-Aug-2020 | 20.5 KiB | |||
decoder_test.go | H A D | 20-Aug-2020 | 6.3 KiB | |||
deserializer.go | H A D | 20-Aug-2020 | 951 | |||
deserializer.go deserializer_test.go | H A D | 20-Aug-2020 | 2.3 KiB | |||
errors.go | H A D | 20-Aug-2020 | 1.1 KiB | |||
example_test.go | H A D | 20-Aug-2020 | 3.1 KiB | |||
go.mod | H A D | 20-Aug-2020 | 154 | |||
go.sum | H A D | 20-Aug-2020 | 1.3 KiB | |||
mmap_unix.go | H A D | 20-Aug-2020 | 277 | |||
mmap_windows.go | H A D | 20-Aug-2020 | 1.8 KiB | |||
node.go | H A D | 20-Aug-2020 | 1.4 KiB | |||
reader.go | H A D | 20-Aug-2020 | 9.9 KiB | |||
reader_appengine.go | H A D | 20-Aug-2020 | 873 | |||
reader_other.go | H A D | 20-Aug-2020 | 1.4 KiB | |||
reader_test.go | H A D | 20-Aug-2020 | 24 KiB | |||
traverse.go | H A D | 20-Aug-2020 | 5.7 KiB | |||
traverse_test.go | H A D | 20-Aug-2020 | 6 KiB | |||
verifier.go | H A D | 20-Aug-2020 | 3.9 KiB | |||
verifier_test.go | H A D | 20-Aug-2020 | 1.5 KiB |
README.md
1# MaxMind DB Reader for Go # 2 3[![GoDoc](https://godoc.org/github.com/oschwald/maxminddb-golang?status.svg)](https://godoc.org/github.com/oschwald/maxminddb-golang) 4 5This is a Go reader for the MaxMind DB format. Although this can be used to 6read [GeoLite2](http://dev.maxmind.com/geoip/geoip2/geolite2/) and 7[GeoIP2](https://www.maxmind.com/en/geoip2-databases) databases, 8[geoip2](https://github.com/oschwald/geoip2-golang) provides a higher-level 9API for doing so. 10 11This is not an official MaxMind API. 12 13## Installation ## 14 15``` 16go get github.com/oschwald/maxminddb-golang 17``` 18 19## Usage ## 20 21[See GoDoc](http://godoc.org/github.com/oschwald/maxminddb-golang) for 22documentation and examples. 23 24## Examples ## 25 26See [GoDoc](http://godoc.org/github.com/oschwald/maxminddb-golang) or 27`example_test.go` for examples. 28 29## Contributing ## 30 31Contributions welcome! Please fork the repository and open a pull request 32with your changes. 33 34## License ## 35 36This is free software, licensed under the ISC License. 37