]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.22: document net/netip changes
authorDamien Neil <dneil@google.com>
Wed, 17 Jan 2024 19:59:10 +0000 (11:59 -0800)
committerGopher Robot <gobot@golang.org>
Wed, 17 Jan 2024 23:14:20 +0000 (23:14 +0000)
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>
doc/go1.22.html

index 42ca2d5f7b7e7b0f52ccdc964d91362727fec4a6..686d42ebae99af5751c9d8b66cf10b5d5fff5ed0 100644 (file)
@@ -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>