]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.22: move go/version package mention into a separate heading
authorDmitri Shuralyov <dmitshur@golang.org>
Wed, 31 Jan 2024 18:30:50 +0000 (13:30 -0500)
committerGopher Robot <gobot@golang.org>
Wed, 31 Jan 2024 20:51:56 +0000 (20:51 +0000)
It's a new package in the standard library,
not a minor change to an existing package.

For #62039.
For #61422.

Change-Id: I7488304cd2bd6353f535cab192d015796840ba4e
Reviewed-on: https://go-review.googlesource.com/c/go/+/559799
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
doc/go1.22.html

index 3b7ee62b27845a718e488421d6d8180a47bd791f..39e2dca61052c5dbf46ad900e6c08b24e897536b 100644 (file)
@@ -371,6 +371,13 @@ and the Go runtime also use ChaCha8 for randomness.
 We plan to include an API migration tool in a future release, likely Go 1.23.
 </p>
 
+<h3 id="go/version">New go/version package</h3>
+
+<p><!-- https://go.dev/issue/62039, https://go.dev/cl/538895 -->
+  The new <a href="/pkg/go/version/"><code>go/version</code></a> package implements functions
+  for validating and comparing Go version strings.
+</p>
+
 <h3 id="enhanced_routing_patterns">Enhanced routing patterns</h3>
 
 <p><!-- https://go.dev/issue/61410 -->
@@ -643,15 +650,6 @@ We plan to include an API migration tool in a future release, likely Go 1.23.
   </dd>
 </dl>
 
-<dl id="go/version"><dt><a href="/pkg/go/version/">go/version</a></dt>
-  <dd>
-    <p><!-- https://go.dev/issue/62039, https://go.dev/cl/538895 -->
-      The new <a href="/pkg/go/version/"><code>go/version</code></a> package implements functions
-      for validating and comparing Go version strings.
-    </p>
-  </dd>
-</dl><!-- go/version -->
-
 <dl id="html/template"><dt><a href="/pkg/html/template/">html/template</a></dt>
   <dd>
     <p><!-- https://go.dev/issue/61619, CL 507995 -->