Skip to content

Commit 7e7b16c

Browse files
danpjba
authored andcommitted
doc: fill out net/http.Request.PathValue,SetPathValue section
And add a missing code tag wrap elsewhere. Updates #61410 Updates #61422 Change-Id: I70a9c4ecaf4056af2e88d777b8db892a45dfcb9f Reviewed-on: https://go-review.googlesource.com/c/go/+/552195 Reviewed-by: Dmitri Shuralyov <[email protected]> Run-TryBot: Dan Peterson <[email protected]> Reviewed-by: Jonathan Amsterdam <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
1 parent b44f637 commit 7e7b16c

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

Diff for: doc/go1.22.html

+9-4
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
692692
<dl id="math/big"><dt><a href="/pkg/math/big/">math/big</a></dt>
693693
<dd>
694694
<p><!-- https://go.dev/issue/50489, CL 539299 -->
695-
The new method <a href="/pkg/math/big#Rat.FloatPrec">Rat.FloatPrec</a> computes the number of fractional decimal digits
695+
The new method <a href="/pkg/math/big#Rat.FloatPrec"><code>Rat.FloatPrec</code></a> computes the number of fractional decimal digits
696696
required to represent a rational number accurately as a floating-point number, and whether accurate decimal representation
697697
is possible in the first place.
698698
</p>
@@ -736,9 +736,14 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
736736
<a href="/doc/godebug"><code>GODEBUG</code></a> field <code>httplaxcontentlength=1</code>.
737737
</p>
738738

739-
<!-- <p><\!-- CL 528355 -\-> -->
740-
<!-- TODO: <a href="https://go.dev/cl/528355">https://go.dev/cl/528355</a>: net/http: implement path value methods on Request; modified api/next/61410.txt -->
741-
<!-- </p> -->
739+
<p><!-- https://go.dev/issue/61410, CL 528355 -->
740+
The new method
741+
<a href="/pkg/net/http#Request.PathValue"><code>Request.PathValue</code></a>
742+
returns path wildcard values from a request
743+
and the new method
744+
<a href="/pkg/net/http#Request.SetPathValue"><code>Request.SetPathValue</code></a>
745+
sets path wildcard values on a request.
746+
</p>
742747
</dd>
743748
</dl><!-- net/http -->
744749

0 commit comments

Comments
 (0)