tangs b030ce89ca openbilibili | %!s(int64=5) %!d(string=hai) anos | |
---|---|---|
.. | ||
BUILD.bazel | %!s(int64=5) %!d(string=hai) anos | |
LICENSE | %!s(int64=5) %!d(string=hai) anos | |
README.md | %!s(int64=5) %!d(string=hai) anos | |
appveyor.yml | %!s(int64=5) %!d(string=hai) anos | |
decoder.go | %!s(int64=5) %!d(string=hai) anos | |
errors.go | %!s(int64=5) %!d(string=hai) anos | |
mmap_unix.go | %!s(int64=5) %!d(string=hai) anos | |
mmap_windows.go | %!s(int64=5) %!d(string=hai) anos | |
reader.go | %!s(int64=5) %!d(string=hai) anos | |
reader_appengine.go | %!s(int64=5) %!d(string=hai) anos | |
reader_other.go | %!s(int64=5) %!d(string=hai) anos | |
traverse.go | %!s(int64=5) %!d(string=hai) anos | |
verifier.go | %!s(int64=5) %!d(string=hai) anos |
This is a Go reader for the MaxMind DB format. Although this can be used to read GeoLite2 and GeoIP2 databases, geoip2 provides a higher-level API for doing so.
This is not an official MaxMind API.
go get github.com/oschwald/maxminddb-golang
See GoDoc for documentation and examples.
See GoDoc or
example_test.go
for examples.
Contributions welcome! Please fork the repository and open a pull request with your changes.
This is free software, licensed under the ISC License.