doc: fix various release notes mistakes

Change-Id: Ib7666b3df1d7190772748129c349d4dc7046ca5b
Reviewed-on: https://go-review.googlesource.com/c/go/+/571795
TryBot-Bypass: Russ Cox <rsc@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
This commit is contained in:
Russ Cox 2024-03-14 14:42:53 -04:00 committed by Gopher Robot
parent 502347f121
commit 9a9b110f58
14 changed files with 21 additions and 21 deletions

View File

@ -1,2 +1,2 @@
## Standard library {#library}
## Core library {#library}

View File

@ -1,4 +1,4 @@
Errors returned by [`driver.Valuer`](/database/sql/driver#Driver)
Errors returned by [`driver.Valuer`](/pkg/database/sql/driver#Driver)
implementations are now wrapped for improved error handling during
operations like [`Query`](/database/sql#DB.Query), [`Exec`](/database/sql#DB.Exec),
and [`QueryRow`](/database/sql#DB.QueryRow).
operations like [`Query`](/pkg/database/sql#DB.Query), [`Exec`](/pkg/database/sql#DB.Exec),
and [`QueryRow`](/pkg/database/sql#DB.QueryRow).

View File

@ -1,3 +1,3 @@
The debug/elf package now defines PT_OPENBSD_NOBTCFI. This elf.ProgType is
used to disable Branch Tracking Control Flow Integrity (BTCFI) enforcement
on OpenBSD binaries.
The new [`ProgType`](/pkg/debug/elf#ProgType)
[`PT_OPENBSD_NOBTCFI`](/pkg/debug/elf#PT_OPENBSD_NOBTCFI).
disables Branch Tracking Control Flow Integrity (BTCFI) enforcement on OpenBSD binaries.

View File

@ -1,4 +1,4 @@
The new type [`KeepAliveConfig`](/net#KeepAliveConfig) permits fine-tuning
The new type [`KeepAliveConfig`](/pkg/net#KeepAliveConfig) permits fine-tuning
the keep-alive options for TCP connections, via a new
[`TCPConn.SetKeepAliveConfig`](/net#TCPConn.SetKeepAliveConfig) method and
new KeepAliveConfig fields for [`Dialer`](/net#Dialer) and [`ListenConfig`](/net#ListenConfig).
[`TCPConn.SetKeepAliveConfig`](/pkg/net#TCPConn.SetKeepAliveConfig) method and
new KeepAliveConfig fields for [`Dialer`](/pkg/net#Dialer) and [`ListenConfig`](/pkg/net#ListenConfig).

View File

@ -1,2 +1,2 @@
The patterns used by [`net/http.ServeMux`](//net/http#ServeMux) allow
The patterns used by [`net/http.ServeMux`](/pkg/net/http#ServeMux) allow
multiple spaces matching regexp '[ \t]+'.

View File

@ -1,2 +1,2 @@
The new NewRequestWithContext method creates an incoming request with
a Context.
The new [`NewRequestWithContext`](/pkg/net/http/httptest#NewRequestWithContext) method creates an incoming request with
a [`context.Context`](/pkg/context#Context).

View File

@ -1,3 +1,3 @@
The [`os.Stat`](/os#Stat) function now sets the [`os.ModeSocket`](/os#ModeSocket)
The [`os.Stat`](/pkg/os#Stat) function now sets the [`os.ModeSocket`](/pkg/os#ModeSocket)
bit for files that are Unix sockets on Windows. These files are identified by
having a reparse tag set to `IO_REPARSE_TAG_AF_UNIX`.

View File

@ -1,2 +1,2 @@
The [`CopyFS`](/os#CopyFS) function copies an [`io/fs.FS`](/io/fs#FS)
The [`CopyFS`](/pkg/os#CopyFS) function copies an [`io/fs.FS`](/pkg/io/fs#FS)
into the local filesystem.

View File

@ -1,4 +1,4 @@
On Windows, [`os.Readlink`](/os#Readlink) no longer tries
On Windows, [`os.Readlink`](/pkg/os#Readlink) no longer tries
to normalize volumes to drive letters, which was not always even possible.
This behavior is controlled by the `winreadlinkvolume` setting.
For Go 1.23, it defaults to `winreadlinkvolume=1`.

View File

@ -1,2 +1,2 @@
The new [`Localize`](/path/filepath#Localize) function safely converts
The new [`Localize`](/pkg/path/filepath#Localize) function safely converts
a slash-separated path into an operating system path.

View File

@ -1,5 +1,5 @@
The [`debug.SetCrashOutput`](/runtime#SetCrashOutput) function allows
The [`debug.SetCrashOutput`](/pkg/runtime#SetCrashOutput) function allows
the user to specify an alternate file to which the runtime should
write its fatal crash report
([#42888](https://github.com/golang/go/issues/42888)).

View File

@ -1,4 +1,4 @@
The [`(*sync.Map) Clear()`](//sync#Map.Clear) method deletes
The [`(*sync.Map) Clear()`](/pkg/sync#Map.Clear) method deletes
all the entries, resulting in an empty map
([#61696](https://github.com/golang/go/issues/61696)).
It is analogous to `clear`.

View File

@ -1 +1 @@
The syscall package now defines WSAENOPROTOOPT on Windows.
The syscall package now defines [`WSAENOPROTOOPT`](/pkg/syscall#WSAENOPROTOOPT) on Windows.

View File

@ -1 +1 @@
The [`GetsockoptInt`](/syscall#GetsockoptInt) function is now supported on Windows.
The [`GetsockoptInt`](/pkg/syscall#GetsockoptInt) function is now supported on Windows.