<h3 id="netip">New <code>net/netip</code> package</h3>
<p>
The new <a href="/pkg/net/netip/"><code>net/netip</code></a>
- package defines a new IP address type, <a href="/pkg/net/netip/#Addr"><code>Addr</code></a>
- that's a small, comparable, value type. Compared to the existing
+ package defines a new IP address type, <a href="/pkg/net/netip/#Addr"><code>Addr</code></a>.
+ Compared to the existing
<a href="/pkg/net/#IP"><code>net.IP</code></a> type, the <code>netip.Addr</code> type takes less
memory, is immutable, and is comparable so it supports <code>==</code>
and can be used as a map key.