mirror of https://github.com/k3d-io/k3d
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iwilltry42
5cd9aa1d08
|
6 months ago | |
---|---|---|
.. | ||
.gitignore | 1 year ago | |
.gitmodules | 1 year ago | |
AUTHORS | 1 year ago | |
LICENSE | 1 year ago | |
README.md | 1 year ago | |
ipset.go | 1 year ago | |
mask6.go | 1 year ago | |
netipx.go | 6 months ago | |
uint128.go | 1 year ago |
README.md
netipx
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:
- https://github.com/inetaf/netaddr/ (now deprecated)
- https://tailscale.com/blog/netaddr-new-ip-type-for-go/ - blog post about why the package came to be originally
- https://go.dev/doc/go1.18#netip - Go 1.18 release notes
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.