Package Usage: go: inet.af/netaddr
Package netaddr contains a IP address type that's in many ways
better than the Go standard library's net.IP type. Building on that
IP type, the package also contains IPPrefix, IPPort, IPRange, and
IPSet types.
Notably, this package's IP type takes less memory, is immutable,
comparable (supports == and being a map key), and more. See
https://github.com/inetaf/netaddr for background.
IP and IPPort are the only types in this package that support IPv6
zones. Other types silently drop any passed-in zones.
11 versions
Latest release: about 2 years ago
882 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/inet.af/netaddr