diff options
author | Damien Neil <dneil@google.com> | 2024-01-17 11:59:10 -0800 |
---|---|---|
committer | Gopher Robot <gobot@golang.org> | 2024-01-17 23:14:20 +0000 |
commit | 97daa6e94296980b4aa2dac93a938a5edd95ce93 (patch) | |
tree | 314ae3df3cd674d870cd9a1702c6a329728518b7 | |
parent | 8d04110ce16ecc5cc10e6d5da7678f9c39a222cb (diff) | |
download | go-97daa6e94296980b4aa2dac93a938a5edd95ce93.tar.gz go-97daa6e94296980b4aa2dac93a938a5edd95ce93.zip |
doc/go1.22: document net/netip changes
For #61422
Change-Id: Ide818366b035eada4ba04b70b4741fb1891585d6
Reviewed-on: https://go-review.googlesource.com/c/go/+/556396
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Damien Neil <dneil@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
-rw-r--r-- | doc/go1.22.html | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/doc/go1.22.html b/doc/go1.22.html index 42ca2d5f7b..686d42ebae 100644 --- a/doc/go1.22.html +++ b/doc/go1.22.html @@ -749,7 +749,7 @@ We plan to include an API migration tool in a future release, likely Go 1.23. <dl id="net/http/cgi"><dt><a href="/pkg/net/http/cgi/">net/http/cgi</a></dt> <dd> - <p><\!-- CL 539615 -\-> + <p><!-- CL 539615 --> When executing a CGI process, the <code>PATH_INFO</code> variable is now always set to the empty string or a value starting with a <code>/</code> character, as required by RFC 3875. It was previously possible for some combinations of @@ -757,19 +757,16 @@ We plan to include an API migration tool in a future release, likely Go 1.23. and request URL to violate this requirement. </p> </dd> -</dl><\!-- net/http/cgi -\-> - -<!-- <dl id="net/netip"><dt><a href="/pkg/net/netip/">net/netip</a></dt> --> -<!-- <dd> --> -<!-- <p><\!-- https://go.dev/issue/61642 -\-> --> -<!-- TODO: <a href="https://go.dev/issue/61642">https://go.dev/issue/61642</a>: add Prefix.Compare and AddrPort.Compare --> -<!-- </p> --> - -<!-- <p><\!-- CL 524616 -\-> --> -<!-- TODO: <a href="https://go.dev/cl/524616">https://go.dev/cl/524616</a>: net/netip: add AddrPort.Compare and Prefix.Compare; modified api/next/61642.txt --> -<!-- </p> --> -<!-- </dd> --> -<!-- </dl><\!-- net/netip -\-> --> +</dl><!-- net/http/cgi --> + +<dl id="net/netip"><dt><a href="/pkg/net/netip/">net/netip</a></dt> + <dd> + <p><!-- https://go.dev/issue/61642 --> + The new <a href="/pkg/net/netip#AddrPort.Compare"><code>AddrPort</code></a> + function compares two <code>AddrPort</code>s. + </p> + </dd> +</dl><!-- net/netip --> <dl id="os"><dt><a href="/pkg/os/">os</a></dt> <dd> |