Go 1.22 is not yet released. These are work-in-progress release notes. Go 1.22 is expected to be released in February 2024.
TODO: complete this section
TODO: complete this section, or delete if not needed
The special comment that precedes
import
"C"
may now include two
new #cgo
directives.
#cgo
noescape
cFunctionName
tells cgo that Go pointers passed to the C function
cFunctionName
do not escape.
#cgo
nocallback
cFunctionName
tells cgo that the C function cFunctionName
does
not call any Go functions.
cgo
documentation for more details.
TODO: complete this section, or delete if not needed
TODO: complete this section, or delete if not needed
TODO: complete this section, or delete if not needed
As always, there are various minor changes and updates to the library, made with the Go 1 promise of compatibility in mind. There are also various performance improvements, not enumerated here.
TODO: complete this section
The new Null[T]
type
provide a way to scan nullable columns for any column types.
TODO: complete this section, or delete if not needed