doc/go1.20: add code tags in crypto/{rsa,subtle} and net/netip sections

Change-Id: I516195fb1c2434feb3bf130d37012a98d77beeb6
Reviewed-on: https://go-review.googlesource.com/c/go/+/454235
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Russ Cox <rsc@golang.org>
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
This commit is contained in:
Tobias Klauser 2022-11-30 11:03:47 +01:00 committed by Gopher Robot
parent cd133abc5b
commit c71d3a0f50

View file

@ -587,7 +587,7 @@ proxyHandler := &httputil.ReverseProxy{
<dl id="crypto/rsa"><dt><a href="/pkg/crypto/rsa/">crypto/rsa</a></dt>
<dd>
<p><!-- CL 418874, https://go.dev/issue/19974 -->
The new field <a href="/pkg/crypto/rsa/#OAEPOptions.MGFHash">OAEPOptions.MGFHash</a>
The new field <a href="/pkg/crypto/rsa/#OAEPOptions.MGFHash"><code>OAEPOptions.MGFHash</code></a>
allows configuring the MGF1 hash separately for OAEP encryption.
</p>
</dd>
@ -596,7 +596,7 @@ proxyHandler := &httputil.ReverseProxy{
<dl id="crypto/subtle"><dt><a href="/pkg/crypto/subtle/">crypto/subtle</a></dt>
<dd>
<p><!-- https://go.dev/issue/53021, CL 421435 -->
The new function <a href="/pkg/crypto/subtle/#XORBytes">XORBytes</a>
The new function <a href="/pkg/crypto/subtle/#XORBytes"><code>XORBytes</code></a>
XORs two byte slices together.
</p>
</dd>
@ -905,8 +905,8 @@ proxyHandler := &httputil.ReverseProxy{
<dl id="net/netip"><dt><a href="/pkg/net/netip/">net/netip</a></dt>
<dd>
<p><!-- https://go.dev/issue/51766, https://go.dev/issue/51777, CL 412475 -->
The new <a href="/pkg/net/netip/#IPv6LinkLocalAllRouters">IPv6LinkLocalAllRouters</a>
and <a href="/pkg/net/netip/#IPv6Loopback">IPv6Loopback</a> functions
The new <a href="/pkg/net/netip/#IPv6LinkLocalAllRouters"><code>IPv6LinkLocalAllRouters</code></a>
and <a href="/pkg/net/netip/#IPv6Loopback"><code>IPv6Loopback</code></a> functions
are the <code>net/netip</code> equivalents of
<a href="/pkg/net/#IPv6loopback"><code>net.IPv6loopback</code></a> and
<a href="/pkg/net/#IPv6linklocalallrouters"><code>net.IPv6linklocalallrouters</code></a>.