Skip to content

Commit cf5c781

Browse files
dmitshurezz-no
authored andcommitted
doc/go1.22: move go/version package mention into a separate heading
It's a new package in the standard library, not a minor change to an existing package. For golang#62039. For golang#61422. Change-Id: I7488304cd2bd6353f535cab192d015796840ba4e Reviewed-on: https://go-review.googlesource.com/c/go/+/559799 Auto-Submit: Dmitri Shuralyov <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Michael Knyszek <[email protected]>
1 parent 32d17b7 commit cf5c781

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

doc/go1.22.html

+7-9
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,13 @@ <h3 id="math_rand_v2">New math/rand/v2 package</h3>
371371
We plan to include an API migration tool in a future release, likely Go 1.23.
372372
</p>
373373

374+
<h3 id="go/version">New go/version package</h3>
375+
376+
<p><!-- https://go.dev/issue/62039, https://go.dev/cl/538895 -->
377+
The new <a href="/pkg/go/version/"><code>go/version</code></a> package implements functions
378+
for validating and comparing Go version strings.
379+
</p>
380+
374381
<h3 id="enhanced_routing_patterns">Enhanced routing patterns</h3>
375382

376383
<p><!-- https://go.dev/issue/61410 -->
@@ -643,15 +650,6 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
643650
</dd>
644651
</dl>
645652

646-
<dl id="go/version"><dt><a href="/pkg/go/version/">go/version</a></dt>
647-
<dd>
648-
<p><!-- https://go.dev/issue/62039, https://go.dev/cl/538895 -->
649-
The new <a href="/pkg/go/version/"><code>go/version</code></a> package implements functions
650-
for validating and comparing Go version strings.
651-
</p>
652-
</dd>
653-
</dl><!-- go/version -->
654-
655653
<dl id="html/template"><dt><a href="/pkg/html/template/">html/template</a></dt>
656654
<dd>
657655
<p><!-- https://go.dev/issue/61619, CL 507995 -->

0 commit comments

Comments
 (0)