Skip to content

Commit

Permalink
doc/go1.22: mention new sql.Null[T]
Browse files Browse the repository at this point in the history
For #60370.

Change-Id: Idae906ec7027be6d95f78bf43f7ce8f9d07e6c00
GitHub-Last-Rev: c645f0c
GitHub-Pull-Request: #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>
  • Loading branch information
methane authored and gopherbot committed Aug 16, 2023
1 parent 294e1b2 commit 2f10018
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions doc/go1.22.html
Expand Up @@ -70,6 +70,15 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
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>
Expand Down

0 comments on commit 2f10018

Please sign in to comment.