]> Cypherpunks repositories - gostls13.git/commitdiff
doc: fix various release notes mistakes
authorRuss Cox <rsc@golang.org>
Thu, 14 Mar 2024 18:42:53 +0000 (14:42 -0400)
committerGopher Robot <gobot@golang.org>
Fri, 15 Mar 2024 03:39:16 +0000 (03:39 +0000)
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>
14 files changed:
doc/next/6-stdlib/0-heading.md
doc/next/6-stdlib/99-minor/database/sql/64707.md
doc/next/6-stdlib/99-minor/debug/elf/66054.md
doc/next/6-stdlib/99-minor/net/62254.md
doc/next/6-stdlib/99-minor/net/http/64910.md
doc/next/6-stdlib/99-minor/net/http/httptest/59473.md
doc/next/6-stdlib/99-minor/os/33357.md
doc/next/6-stdlib/99-minor/os/62484.md
doc/next/6-stdlib/99-minor/os/63703.md
doc/next/6-stdlib/99-minor/path/filepath/57151.md
doc/next/6-stdlib/99-minor/runtime/debug/42888.md
doc/next/6-stdlib/99-minor/sync/61696.md
doc/next/6-stdlib/99-minor/syscall/62254.md
doc/next/6-stdlib/99-minor/syscall/65817.md

index a992170d433326dc7b0ce8a1d88eb859589355cf..02351ce1c091ad9c87b3eafe30fd8b17938ac26a 100644 (file)
@@ -1,2 +1,2 @@
-## Standard library {#library}
+## Core library {#library}
 
index 70aad889ffa4fcd7421085d0d09c9654df37f131..b6942b66b6b2607a27ee4795d18ba271ab142f56 100644 (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).
index 9cf1fa7ad156a0ac292b842176f3cdda4964d653..c2236877c37b0fb7ea8b5e51c173aaae7e7a2c23 100644 (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.
index 012b7ede5e83c1c65649ecfbc645b68f557dbc0f..fefc3fb50f6fc3890db4e2514ccb6ef3cc50ccb7 100644 (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).
index 020e18b97ba69f323e7002322b9181451fe335b3..26e69d2e6ee29be48fc4121e1c71d65a05c86ced 100644 (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]+'.
index 65cc6076cf2c6f8333a8629278da23cdff160396..621338d238c7868d511f8f39bc465128fe6999d5 100644 (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).
index 3e809432638b0238f4a891b67b275c95384b441a..67e66c589b8dda5a6f35216e36383b5b7d8ad8ae 100644 (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`.
index 81abb4bc684fa3edfdfabbcf599fcbcd0c89aa6c..305f8ad05c899d5a5af82b505712dec5143ea314 100644 (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.
index abde9448f5618f4cf8b06b31d49982ce99100b1a..f547d496a26b3db6aefa48adc9d60fd240382c0a 100644 (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`.
index 67e84894fe75ecab21c4b2a141ade3377463e7a7..c992447fe3951e18c1ba916e8d3826ccb7fcf9cc 100644 (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.
index d75c86900f136bd16d6abf9d6f031e503b66d03b..a4e812cc0621aa1e3c0d924aa64d28aa28b8d38f 100644 (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)).
index 173076ca5e6cac2d49b3b9f6427dd7ea0b692cba..d138533597d36d2b5604d807edd4c8bfd94c57d9 100644 (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`.
\ No newline at end of file
index fe9651a1782d1f46d4ab43270add6f8bf00f3ff3..bffb7199d8c17d55d924143b1eb2ec8a53851afa 100644 (file)
@@ -1 +1 @@
-The syscall package now defines WSAENOPROTOOPT on Windows.
+The syscall package now defines [`WSAENOPROTOOPT`](/pkg/syscall#WSAENOPROTOOPT) on Windows.
index 0bbbc585491e3f22adb78409b95582df6c92968a..a279a0ad6944cb9c95bb050a03b4ac82e9e7c6c5 100644 (file)
@@ -1 +1 @@
-The [`GetsockoptInt`](/syscall#GetsockoptInt) function is now supported on Windows.
+The [`GetsockoptInt`](/pkg/syscall#GetsockoptInt) function is now supported on Windows.