diff --git a/doc/go1.18.html b/doc/go1.18.html index 10a05ad886..ad08083793 100644 --- a/doc/go1.18.html +++ b/doc/go1.18.html @@ -360,9 +360,15 @@ Do not send CLs removing the interior tags from such phrases. a network CIDR prefix.
- The net
package now has methods to send and receive UDP packets
- using netip.Addr
values instead of the relatively heavy
- *net.UDPAddr
values.
+ The net
package includes new
+ methods that parallel existing methods, but
+ return netip.AddrPort
instead of the
+ heavier-weight net.IP
or
+ *net.UDPAddr types.
+ The net
package also now includes functions and methods
+ to convert between the existing
+ TCPAddr
/UDPAddr
+ types and netip.AddrPort
.
net.Error.Temporary
has been deprecated.
-
- - TODO: Several new net APIs. -
-