issues Search Results · repo:oschwald/maxminddb-golang language:Go
Filter by
64 results
(84 ms)64 results
inoschwald/maxminddb-golang (press backspace or delete to remove)In our use-case, we perform an IP address lookup to query the geoNameID (=location identifier). This ID is then
persisted in the database. In a later step, we retrieve this geoNameID and need to get the ...
maja42
- 1
- Opened on Jun 10
- #176
For instance, some databases have empty maps for records without data, it would be useful to be able to skip them. It
would probably be useful to skip 0 length arrays at the same time, although it is uncommon ...
oschwald
- Opened on Apr 16
- #172
MaxMind already has amazingly good lookup times. But you could speed it up by an order of magnitude. If you load the
MMDB into the bart routing table, you will get this speed increase:
$ go test -run=xxx ...
gaissmai
- 2
- Opened on Mar 26
- #170
If the db is on a file system without mmap support, like a remote share or some FUSE filesystem, mmap(2)/MapViewOfFile
may fail. Now that we target Go 1.23+, there s an easy way to detect this with errors.Is(err, ...
database64128
- 1
- Opened on Jan 13
- #163
There are a few issues with the current mmap implementation for Windows.
1. The file mapping handle can be closed right after calling MapViewOfFile. There s no need to keep it in a map.
2. On 32-bit ...
database64128
- 1
- Opened on Jan 13
- #162
I find out that 1.1.1.0/24 and many other CIDRs belong to wrong country iso_code.
In file GeoLite2-Country-CSV_20240730/GeoLite2-Country-Blocks-IPv4.csv, 1.1.1.0/24 shows:
network,geoname_id,registered_country_geoname_id,represented_country_geoname_id,is_anonymous_proxy,is_satellite_provider,is_anycast ...
Loyalsoldier
- 2
- Opened on Aug 3, 2024
- #147
ip := 185.76.254.54
city, err := geoip.City(net.ParseIP(ip))
both city.City.Name and city.City.GeoNameID are empty, but other properties such as Continent or Country are filled.
I m using the latest ...
groall
- 3
- Opened on Jul 9, 2024
- #145
- [x] Replace net.IP and *net.IPNet with netip.Addr and netip.Prefix
- [ ] Update naming and docs to more closely align with net/netip
- [x] Make SkipAliasedNetworks the default when traversing a ...
oschwald
- 2
- Opened on Jun 30, 2024
- #141
oschwald
- Opened on Mar 6, 2024
- #135
I m currently encountering an issue with the MaxMind DB reader. When I use it with a test MMDB, everything works as
expected. However, when I switch to a production MMDB during runtime, I m faced with ...
teratipallysaitej
- 4
- Opened on Mar 5, 2024
- #133

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.