]> Cypherpunks repositories - gostls13.git/commitdiff
doc: make use of simpler symbol links for relnotes
authorJes Cok <xigua67damn@gmail.com>
Thu, 11 Apr 2024 14:25:27 +0000 (22:25 +0800)
committerGopher Robot <gobot@golang.org>
Fri, 12 Apr 2024 20:57:18 +0000 (20:57 +0000)
This is a practical use of CL 577915, follow-up to CL 577835.

Change-Id: Ibe7e2fa11b444afa1898dc6f6aba1512fe98f1fe
Reviewed-on: https://go-review.googlesource.com/c/go/+/578195
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>

21 files changed:
doc/next/6-stdlib/1-time.md
doc/next/6-stdlib/99-minor/archive/tar/50102.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/61893.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/path/filepath/63703.md
doc/next/6-stdlib/99-minor/reflect/60427.md
doc/next/6-stdlib/99-minor/reflect/61308.md
doc/next/6-stdlib/99-minor/runtime/debug/42888.md
doc/next/6-stdlib/99-minor/slices/65238.md
doc/next/6-stdlib/99-minor/syscall/62254.md
doc/next/6-stdlib/99-minor/syscall/65817.md
doc/next/6-stdlib/99-minor/testing/fstest/63675.md
doc/next/6-stdlib/99-minor/unicode/utf16/44940.md

index fbd8fc740a3ce0666aee38a9f2383582485826ea..c809764ce13ee9dd415f303a63eb25f85b8617d2 100644 (file)
@@ -1,7 +1,7 @@
 ### Timer changes
 
 Go 1.23 makes two significant changes to the implementation of
-[`time.Timer`](/pkg/time#Timer) and [`time.Ticker`](/pkg/time#Ticker).
+[time.Timer] and [time.Ticker].
 
 First, `Timer`s and `Ticker`s that are no longer referred to by the program
 become eligible for garbage collection immediately, even if their
index be5592bc052c8fd52bb29562c0d4b2850d0889e4..ed8675f6933ffc4ca57ea9d06f0bc92c18109b05 100644 (file)
@@ -1,3 +1,4 @@
-If the argument to [`FileInfoHeader`](/archive/tar#FileInfoHeader) implements the new [`FileInfoNames`](/archive/tar#FileInfoNames) interface,
-then the interface methods will be used to set the Uname/Gname of the file header.
-This allows applications to override the system-dependent Uname/Gname lookup.
+If the argument to [FileInfoHeader] implements the new [FileInfoNames]
+interface, then the interface methods will be used to set the Uname/Gname
+of the file header. This allows applications to override the system-dependent
+Uname/Gname lookup.
index b6942b66b6b2607a27ee4795d18ba271ab142f56..17d4516ba8a0b3febf2c0d44a9efa0772390c945 100644 (file)
@@ -1,4 +1,3 @@
-Errors returned by [`driver.Valuer`](/pkg/database/sql/driver#Driver)
-implementations are now wrapped for improved error handling during
-operations like [`Query`](/pkg/database/sql#DB.Query), [`Exec`](/pkg/database/sql#DB.Exec),
-and [`QueryRow`](/pkg/database/sql#DB.QueryRow).
+Errors returned by [driver.Valuer] implementations are now wrapped for
+improved error handling during operations like [DB.Query], [DB.Exec],
+and [DB.QueryRow].
index c2236877c37b0fb7ea8b5e51c173aaae7e7a2c23..0b3443f7d4034b108b473dea7c4244efe3a18c4a 100644 (file)
@@ -1,3 +1,3 @@
-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.
+The `debug/elf` package now defines [PT_OPENBSD_NOBTCFI]. This [ProgType] is
+used to disable Branch Tracking Control Flow Integrity (BTCFI) enforcement
+on OpenBSD binaries.
index fefc3fb50f6fc3890db4e2514ccb6ef3cc50ccb7..639140bbec1f2d7646d36895a9edd30b9ec4fa5e 100644 (file)
@@ -1,4 +1,3 @@
-The new type [`KeepAliveConfig`](/pkg/net#KeepAliveConfig) permits fine-tuning
-the keep-alive options for TCP connections, via a new
-[`TCPConn.SetKeepAliveConfig`](/pkg/net#TCPConn.SetKeepAliveConfig) method and
-new KeepAliveConfig fields for [`Dialer`](/pkg/net#Dialer) and [`ListenConfig`](/pkg/net#ListenConfig).
+The new type [KeepAliveConfig] permits fine-tuning the keep-alive
+options for TCP connections, via a new [TCPConn.SetKeepAliveConfig]
+method and new KeepAliveConfig fields for [Dialer] and [ListenConfig].
index 26e69d2e6ee29be48fc4121e1c71d65a05c86ced..78b13fb711c74f7cd8455ec9f620d4c2e2616562 100644 (file)
@@ -1,2 +1,2 @@
-The patterns used by [`net/http.ServeMux`](/pkg/net/http#ServeMux) allow
-multiple spaces matching regexp '[ \t]+'.
+The patterns used by [ServeMux] allow multiple spaces matching
+regexp '[ \t]+'.
index 621338d238c7868d511f8f39bc465128fe6999d5..a640bbd0e4b08f9ac4e7a20c0c27ed8205d5a886 100644 (file)
@@ -1,2 +1,2 @@
-The new [`NewRequestWithContext`](/pkg/net/http/httptest#NewRequestWithContext) method creates an incoming request with
-a [`context.Context`](/pkg/context#Context).
+The new [NewRequestWithContext] method creates an incoming request with
+a [context.Context].
index 67e66c589b8dda5a6f35216e36383b5b7d8ad8ae..bd542d9d77ac0e3aa5331421e015dba1a6310554 100644 (file)
@@ -1,3 +1,3 @@
-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`.
+The [Stat] function now sets the [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 b2dd5370394954a23ef6496af88a0cf16c513ee8..d22060c8698017f273015da417308018eb0689c0 100644 (file)
@@ -1,7 +1,7 @@
-On Windows, the mode bits reported by [`os.Lstat`](/pkg/os#Lstat) and [`os.Stat`](/pkg/os#Stat)
-for reparse points changed. Mount points no longer have [`os.ModeSymlink`](/pkg/os#ModeSymlink) set,
-and reparse points that are not symlinks, Unix sockets, or dedup files now
-always have [`os.ModeIrregular`](/pkg/os#ModeIrregular) set.
+On Windows, the mode bits reported by [Lstat] and [Stat] for
+reparse points changed. Mount points no longer have [ModeSymlink] set,
+and reparse points that are not symlinks, Unix sockets, or dedup files
+now always have [ModeIrregular] set.
 This behavior is controlled by the `winsymlink` setting.
 For Go 1.23, it defaults to `winsymlink=1`.
 Previous versions default to `winsymlink=0`.
index 305f8ad05c899d5a5af82b505712dec5143ea314..c99801bb6c7d9b81698dd5f0abc973f87a96ee29 100644 (file)
@@ -1,2 +1 @@
-The [`CopyFS`](/pkg/os#CopyFS) function copies an [`io/fs.FS`](/pkg/io/fs#FS)
-into the local filesystem.
+The [CopyFS] function copies an [io/fs.FS] into the local filesystem.
index f547d496a26b3db6aefa48adc9d60fd240382c0a..3fbb2594cf795399055acad57e82efa04f0e7147 100644 (file)
@@ -1,5 +1,5 @@
-On Windows, [`os.Readlink`](/pkg/os#Readlink) no longer tries
-to normalize volumes to drive letters, which was not always even possible.
+On Windows, [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`.
 Previous versions default to `winreadlinkvolume=0`.
\ No newline at end of file
index c992447fe3951e18c1ba916e8d3826ccb7fcf9cc..5a99e3a4f2cffaacaf51f4cf62d04952cc81c10a 100644 (file)
@@ -1,2 +1,2 @@
-The new [`Localize`](/pkg/path/filepath#Localize) function safely converts
-a slash-separated path into an operating system path.
+The new [Localize] function safely converts a slash-separated
+path into an operating system path.
index 0aa0ba6fe39a99dbb30dca003797e0728434b691..da2b132d8b3a7dc15807011296830ba328e5a108 100644 (file)
@@ -1,11 +1,11 @@
-On Windows, [`filepath.EvalSymlinks`](/pkg/path/filepath#EvalSymlinks) no longer evaluates
-mount points, which was a source of many inconsistencies and bugs.
+On Windows, [EvalSymlinks] no longer evaluates mount points,
+which was a source of many inconsistencies and bugs.
 This behavior is controlled by the `winsymlink` setting.
 For Go 1.23, it defaults to `winsymlink=1`.
 Previous versions default to `winsymlink=0`.
 
-On Windows, [`filepath.EvalSymlinks`](/pkg/path/filepath#EvalSymlinks) no longer tries
-to normalize volumes to drive letters, which was not always even possible.
+On Windows, [EvalSymlinks] 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`.
 Previous versions default to `winreadlinkvolume=0`.
\ No newline at end of file
index 92230cde1a9907e1383aa538f0b722a396dc269a..bca13607346e5629d35e070b854fa1db6ae12a1e 100644 (file)
@@ -1,6 +1,6 @@
-The new methods synonymous with the method of the same name in [`reflect.Value`](/pkg/reflect#Value)
-are added to [`reflect.Type`](/pkg/reflect#Type):
-1. [`OverflowComplex`](/pkg/reflect#Type.OverflowComplex)
-2. [`OverflowFloat`](/pkg/reflect#Type.OverflowFloat)
-3. [`OverflowInt`](/pkg/reflect#Type.OverflowInt)
-4. [`OverflowUint`](/pkg/reflect#Type.OverflowUint)
+The new methods synonymous with the method of the same name
+in [Value] are added to [Type]:
+1. [Type.OverflowComplex]
+2. [Type.OverflowFloat]
+3. [Type.OverflowInt]
+4. [Type.OverflowUint]
index e512e8ffb6baf0124625bb74bb68b3494898acd8..ed21ec3a375ea4cc42d8725b46717ce007af7e02 100644 (file)
@@ -1,3 +1,3 @@
-The [`SliceAt(typ Type, p unsafe.Pointer, len int)`](/pkg/reflect#SliceAt) function
-returns a Value representing a slice whose underlying array starts at p and whose
-length and capacity are len.
+The [SliceAt(typ Type, p unsafe.Pointer, len int)] function
+returns a Value representing a slice whose underlying array starts
+at p and whose length and capacity are len.
\ No newline at end of file
index a4e812cc0621aa1e3c0d924aa64d28aa28b8d38f..2a65e691feaee9c56adced45900d8dbf5e1c7318 100644 (file)
@@ -1,8 +1,6 @@
 
-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)).
+The [SetCrashOutput] function allows the user to specify an alternate
+file to which the runtime should write its fatal crash report.
 It may be used to construct an automated reporting mechanism for all
 unexpected crashes, not just those in goroutines that explicitly use
 `recover`.
index 9204eb58a9accd0523272afb33557845afbcca65..34ef66a2dd1d7ada72f2b1ff7dd542e745b10381 100644 (file)
@@ -1,2 +1,2 @@
-The [`Repeat`](/pkg/slices#Repeat) function returns a new slice
-that repeats the provided slice the given number of times.
+The [Repeat] function returns a new slice that repeats the
+provided slice the given number of times.
index bffb7199d8c17d55d924143b1eb2ec8a53851afa..1d463e5ea8127fe3c81fb06ab517c1012fbe1a90 100644 (file)
@@ -1 +1 @@
-The syscall package now defines [`WSAENOPROTOOPT`](/pkg/syscall#WSAENOPROTOOPT) on Windows.
+The syscall package now defines [WSAENOPROTOOPT] on Windows.
index a279a0ad6944cb9c95bb050a03b4ac82e9e7c6c5..9a2d12c0741e49db343ef01265f6bca1755f21d6 100644 (file)
@@ -1 +1 @@
-The [`GetsockoptInt`](/pkg/syscall#GetsockoptInt) function is now supported on Windows.
+The [GetsockoptInt] function is now supported on Windows.
index 1a3552d50d95a667248540ef1d77b03712a8b613..cea9ae3dc2e1a03688c00399f7e0e8142c07feaa 100644 (file)
@@ -1,4 +1,3 @@
-[`TestFS`](/pkg/testing/fstest#TestFS) now returns a structured
-error that can be unwrapped (via method `Unwrap() []error`). This allows
-inspecting errors using [`errors.Is`](/pkg/errors#Is) or
-[`errors.As`](/pkg/errors#As).
+[TestFS] now returns a structured error that can be unwrapped
+(via method `Unwrap() []error`). This allows inspecting errors
+using [errors.Is] or [errors.As].
index 79a36cd611b670e2bedb6d29a64b9eba16098d60..e0667845883d3ea3eda4b1e59f6a18975d8e15ac 100644 (file)
@@ -1,3 +1,3 @@
-The [`unicode/utf16.RuneLen`](/pkg/unicode/utf16#RuneLen) function returns
-the number of 16-bit words in the UTF-16 encoding of the rune. It returns -1
-if the rune is not a valid value to encode in UTF-16.
+The [RuneLen] function returns the number of 16-bit words in
+the UTF-16 encoding of the rune. It returns -1 if the rune
+is not a valid value to encode in UTF-16.