maxminddb-golang
maxminddb-golang copied to clipboard
MaxMind DB Reader for Go
Go 1.18 includes the new `net/netip` package with value types related to IP addresses and networks. Perhaps, new methods should be added, for example `Reader.LookupAddr(ip netip.Addr, result any)` and `Reader.Prefixes`...
The use case for this is pretty much as in the test: I'd like to get the data section of a database file. As far as I know there's no...
in the process of using Sometimes we needs to determine if the status of mmdb is closed or not. ``` errors.New("cannot call Lookup on a closed database") ``` Now that...
This PR adds a facility allowing full manual control of the decoding process. While we are aware that the experimental `deserializer` interface exists, it is quite painful to use as...
Hey! I am looking at improving performance on an app using heavily geoip lookup and I am wondering if there was something between using `reflect` and a custom deserializer (as...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3 to 4. Release notes Sourced from golangci/golangci-lint-action's releases. v3.7.0 What's Changed Changes feat: working-directory with only-new-issues by @CfirTsabari in golangci/golangci-lint-action#795 Documentation docs: improve How to use...
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.14.0 to 0.17.0. Commits 914b96c windows: support ill-formed UTF-16 in UTF16PtrToString 511ec84 Revert "windows: support nil done parameter in ReadFile and WriteFile" 628365d windows: support nil done...
It appears we just display the value using `%v` or something. See the error in https://github.com/oschwald/maxminddb-golang/issues/128.
- Add type information to unmarshaling error messages - Wrap errors when decoding map values