Rod Hynes db831cc5f8 Update tailscale.com/net/portmapper for fixes and enhancements 1 year ago
..
.gitignore db831cc5f8 Update tailscale.com/net/portmapper for fixes and enhancements 1 year ago
.gitmodules db831cc5f8 Update tailscale.com/net/portmapper for fixes and enhancements 1 year ago
AUTHORS db831cc5f8 Update tailscale.com/net/portmapper for fixes and enhancements 1 year ago
LICENSE db831cc5f8 Update tailscale.com/net/portmapper for fixes and enhancements 1 year ago
README.md db831cc5f8 Update tailscale.com/net/portmapper for fixes and enhancements 1 year ago
ipset.go db831cc5f8 Update tailscale.com/net/portmapper for fixes and enhancements 1 year ago
mask6.go db831cc5f8 Update tailscale.com/net/portmapper for fixes and enhancements 1 year ago
netipx.go db831cc5f8 Update tailscale.com/net/portmapper for fixes and enhancements 1 year ago
uint128.go db831cc5f8 Update tailscale.com/net/portmapper for fixes and enhancements 1 year ago

README.md

netipx Test Status Go Reference

What

This is a package containing the bits of the old inet.af/netaddr package that didn't make it into Go 1.18's net/netip standard library package.

As background, see:

This package requires Go 1.18+ to use and complements the net/netip.

FAQ

Why's it no longer under inet.af? Since that joke started, that TLD is now under control of the Taliban. (Yes, we should've known better. We'd even previously scolded people for relying on questionable ccTLDs. Whoops.)

Will this stuff make it into the standard library? Maybe. We'll see.