From: Alberto Donizetti
The
- Additionally, the
- The new compiler go
command now embeds version control information in
- binaries including the currently checked-out revision, commit time, and a
+ binaries. It includes the currently checked-out revision, commit time, and a
flag indicating whether edited or untracked files are present. Version
control information is embedded if the go
command is invoked in
a directory within a Git, Mercurial, Fossil, or Bazaar repository, and the
@@ -285,7 +285,7 @@ Do not send CLs removing the interior tags from such phrases.
go
command embeds information about the build
+ Additionally, the go
command embeds information about the build,
including build and tool tags (set with -tags
), compiler,
assembler, and linker flags (like -gcflags
), whether cgo was
enabled, and if it was, the values of the cgo environment variables
@@ -509,7 +509,7 @@ For more information, see https://
-asan
option supports the
+ The new -asan
compiler option supports the
new go
command -asan
option.
- The new linker -asan
option supports the
+ The new -asan
linker option supports the
new go
command -asan
option.
- The methods Reader.Reset
and
- Writer.Reset
+ The Reader.Reset
and
+ Writer.Reset
methods
now use the default buffer size when called on objects with a
nil
buffer.
- User.GroupIds
.
+ User.GroupIds
now uses a Go native implementation when cgo is not available.
Value.SetIterKey
and Value.SetIterValue
methods set a Value using a map iterator as the source. They are equivalent to
- Value.Set(iter.Key())
and Value.Set(iter.Value())
but
+ Value.Set(iter.Key())
and Value.Set(iter.Value())
, but
do fewer allocations.
@@ -1219,7 +1219,7 @@ For more details, see go.dev/issue/44505
- Wrapper
interface has been removed.
+ The Wrapper
interface has been removed.
- The AppendRune
function appends the UTF-8 new
+ The new AppendRune
function appends the UTF-8
encoding of a rune
to a []byte
.