Skip to content

Commit 1962672

Browse files
callthingsoffgopherbot
authored andcommitted
doc: make use of simpler symbol links for relnotes
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 <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Jonathan Amsterdam <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]>
1 parent 2f3ff1f commit 1962672

File tree

21 files changed

+55
-60
lines changed

21 files changed

+55
-60
lines changed

doc/next/6-stdlib/1-time.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
### Timer changes
22

33
Go 1.23 makes two significant changes to the implementation of
4-
[`time.Timer`](/pkg/time#Timer) and [`time.Ticker`](/pkg/time#Ticker).
4+
[time.Timer] and [time.Ticker].
55

66
First, `Timer`s and `Ticker`s that are no longer referred to by the program
77
become eligible for garbage collection immediately, even if their
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
If the argument to [`FileInfoHeader`](/archive/tar#FileInfoHeader) implements the new [`FileInfoNames`](/archive/tar#FileInfoNames) interface,
2-
then the interface methods will be used to set the Uname/Gname of the file header.
3-
This allows applications to override the system-dependent Uname/Gname lookup.
1+
If the argument to [FileInfoHeader] implements the new [FileInfoNames]
2+
interface, then the interface methods will be used to set the Uname/Gname
3+
of the file header. This allows applications to override the system-dependent
4+
Uname/Gname lookup.
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
Errors returned by [`driver.Valuer`](/pkg/database/sql/driver#Driver)
2-
implementations are now wrapped for improved error handling during
3-
operations like [`Query`](/pkg/database/sql#DB.Query), [`Exec`](/pkg/database/sql#DB.Exec),
4-
and [`QueryRow`](/pkg/database/sql#DB.QueryRow).
1+
Errors returned by [driver.Valuer] implementations are now wrapped for
2+
improved error handling during operations like [DB.Query], [DB.Exec],
3+
and [DB.QueryRow].
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
The new [`ProgType`](/pkg/debug/elf#ProgType)
2-
[`PT_OPENBSD_NOBTCFI`](/pkg/debug/elf#PT_OPENBSD_NOBTCFI).
3-
disables Branch Tracking Control Flow Integrity (BTCFI) enforcement on OpenBSD binaries.
1+
The `debug/elf` package now defines [PT_OPENBSD_NOBTCFI]. This [ProgType] is
2+
used to disable Branch Tracking Control Flow Integrity (BTCFI) enforcement
3+
on OpenBSD binaries.
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
The new type [`KeepAliveConfig`](/pkg/net#KeepAliveConfig) permits fine-tuning
2-
the keep-alive options for TCP connections, via a new
3-
[`TCPConn.SetKeepAliveConfig`](/pkg/net#TCPConn.SetKeepAliveConfig) method and
4-
new KeepAliveConfig fields for [`Dialer`](/pkg/net#Dialer) and [`ListenConfig`](/pkg/net#ListenConfig).
1+
The new type [KeepAliveConfig] permits fine-tuning the keep-alive
2+
options for TCP connections, via a new [TCPConn.SetKeepAliveConfig]
3+
method and new KeepAliveConfig fields for [Dialer] and [ListenConfig].
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
The patterns used by [`net/http.ServeMux`](/pkg/net/http#ServeMux) allow
2-
multiple spaces matching regexp '[ \t]+'.
1+
The patterns used by [ServeMux] allow multiple spaces matching
2+
regexp '[ \t]+'.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
The new [`NewRequestWithContext`](/pkg/net/http/httptest#NewRequestWithContext) method creates an incoming request with
2-
a [`context.Context`](/pkg/context#Context).
1+
The new [NewRequestWithContext] method creates an incoming request with
2+
a [context.Context].
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
The [`os.Stat`](/pkg/os#Stat) function now sets the [`os.ModeSocket`](/pkg/os#ModeSocket)
2-
bit for files that are Unix sockets on Windows. These files are identified by
3-
having a reparse tag set to `IO_REPARSE_TAG_AF_UNIX`.
1+
The [Stat] function now sets the [ModeSocket] bit for
2+
files that are Unix sockets on Windows. These files are identified
3+
by having a reparse tag set to `IO_REPARSE_TAG_AF_UNIX`.
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
On Windows, the mode bits reported by [`os.Lstat`](/pkg/os#Lstat) and [`os.Stat`](/pkg/os#Stat)
2-
for reparse points changed. Mount points no longer have [`os.ModeSymlink`](/pkg/os#ModeSymlink) set,
3-
and reparse points that are not symlinks, Unix sockets, or dedup files now
4-
always have [`os.ModeIrregular`](/pkg/os#ModeIrregular) set.
1+
On Windows, the mode bits reported by [Lstat] and [Stat] for
2+
reparse points changed. Mount points no longer have [ModeSymlink] set,
3+
and reparse points that are not symlinks, Unix sockets, or dedup files
4+
now always have [ModeIrregular] set.
55
This behavior is controlled by the `winsymlink` setting.
66
For Go 1.23, it defaults to `winsymlink=1`.
77
Previous versions default to `winsymlink=0`.
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
The [`CopyFS`](/pkg/os#CopyFS) function copies an [`io/fs.FS`](/pkg/io/fs#FS)
2-
into the local filesystem.
1+
The [CopyFS] function copies an [io/fs.FS] into the local filesystem.

0 commit comments

Comments
 (0)