| 1 |
# netipx [](https://github.com/go4org/netipx/actions) [](https://pkg.go.dev/go4.org/netipx) |
| 2 |
|
| 3 |
## What |
| 4 |
|
| 5 |
This is a package containing the bits of the old `inet.af/netaddr` package that didn't make it |
| 6 |
into Go 1.18's `net/netip` standard library package. |
| 7 |
|
| 8 |
As background, see: |
| 9 |
|
| 10 |
* https://github.com/inetaf/netaddr/ (now deprecated) |
| 11 |
* https://tailscale.com/blog/netaddr-new-ip-type-for-go/ - blog post about why the package came to be originally |
| 12 |
* https://go.dev/doc/go1.18#netip - Go 1.18 release notes |
| 13 |
|
| 14 |
This package requires Go 1.18+ to use and complements the `net/netip`. |
| 15 |
|
| 16 |
## FAQ |
| 17 |
|
| 18 |
**Why's it no longer under `inet.af`?** Since that joke started, that |
| 19 |
TLD is now under control of the Taliban. (Yes, we should've known |
| 20 |
better. We'd even previously scolded people for relying on |
| 21 |
questionable ccTLDs. Whoops.) |
| 22 |
|
| 23 |
**Will this stuff make it into the standard library?** [Maybe](https://github.com/golang/go/issues/53236). |
| 24 |
We'll see. |
| 25 |
|
| 26 |
|