]> Cypherpunks.ru repositories - gostls13.git/commitdiff
doc/go1.22: mention new sql.Null[T]
authorInada Naoki <songofacandy@gmail.com>
Tue, 15 Aug 2023 04:33:37 +0000 (04:33 +0000)
committerGopher Robot <gobot@golang.org>
Wed, 16 Aug 2023 02:02:38 +0000 (02:02 +0000)
For #60370.

Change-Id: Idae906ec7027be6d95f78bf43f7ce8f9d07e6c00
GitHub-Last-Rev: c645f0cf82ac595855fa154ce342869262932770
GitHub-Pull-Request: golang/go#62033
Reviewed-on: https://go-review.googlesource.com/c/go/+/519555
TryBot-Bypass: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>

doc/go1.22.html

index 5534a3fbad370a2906059225a8f7de95457788cf..1bf759a9a648f845c9eb2391b2838710a199cb8f 100644 (file)
@@ -70,6 +70,15 @@ Do not send CLs removing the interior tags from such phrases.
   TODO: complete this section
 </p>
 
+<dl id="database/sql"><dt><a href="/pkg/database/sql/">database/sql</a></dt>
+  <dd>
+    <p><!-- https://go.dev/issue/60370, CL 501700 -->
+      The new <a href="/pkg/database/sql/#Null"><code>Null[T]</code></a> type
+      provide a way to scan nullable columns for any column types.
+    </p>
+  </dd>
+</dl>
+
 <h2 id="ports">Ports</h2>
 
 <p>