module
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Nov 19, 2022
License: MIT
Opens a new window with license information.
README
¶
ip2x

Module ip2x is an idiomatic, efficient, and robust library for reading IP2Location databases.
Compared to github.com/ip2location/ip2location-go/v9, this library:
- Is written in idiomatic Go.
- Is faster and has fewer allocations.
- Supports directly querying a
net/netip.Addr.
- Supports querying arbitrary selections of fields.
- Allows checking which fields are available in a database.
- Handles all errors correctly.
- Uses errors and zero values correctly instead of using arbitrary strings in field values.
Directories
¶
Package ip2location reads IP2Location databases.
|
Package ip2location reads IP2Location databases. |
|
|
|
Click to show internal directories.
Click to hide internal directories.