1
0
mirror of https://github.com/golang/go synced 2024-11-15 00:30:31 -07:00
go/doc/next/6-stdlib/99-minor
qiulaidongfeng 03103a54d8 hash/maphash: add WriteComparable and Comparable
Default, use  hash function in the runtime package.
If the build tag is purego or raw memory cannot be hash directly,
use reflect get each field to hash separately.

Fixes #54670

Change-Id: Ic968864c9c3c51883967d4f6dc24432385c7dc79
GitHub-Last-Rev: 5ae8a28834
GitHub-Pull-Request: golang/go#69166
Reviewed-on: https://go-review.googlesource.com/c/go/+/609761
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: David Chase <drchase@google.com>
2024-10-02 15:54:11 +00:00
..
archive archive/{zip,tar}: fix Writer.AddFS to include empty directories 2024-09-23 14:32:33 +00:00
bytes bytes, strings: add Lines, SplitSeq, SplitAfterSeq, FieldsSeq, FieldsFuncSeq 2024-08-14 18:23:13 +00:00
crypto crypto/x509,math/rand/v2: implement the encoding.(Binary|Text)Appender 2024-08-21 19:19:57 +00:00
encoding encoding/json: add omitzero option 2024-10-02 14:22:27 +00:00
go/types go/types: add go1.23 iterator methods for 10 exported types 2024-07-31 22:54:09 +00:00
hash hash/maphash: add WriteComparable and Comparable 2024-10-02 15:54:11 +00:00
log/slog log/slog: implement encoding.TextAppender for Level and LevelVar 2024-08-14 14:45:28 +00:00
math crypto/x509,math/rand/v2: implement the encoding.(Binary|Text)Appender 2024-08-21 19:19:57 +00:00
net net,net/netip: implement the encoding.(Binary|Text)Appender 2024-09-23 18:10:51 +00:00
os/user os/user: document Current improvements 2024-08-21 19:59:22 +00:00
regexp math/big,regexp: implement the encoding.TextAppender interface 2024-08-15 23:43:00 +00:00
runtime runtime: deprecate GOROOT 2024-08-20 22:49:59 +00:00
strings bytes, strings: add Lines, SplitSeq, SplitAfterSeq, FieldsSeq, FieldsFuncSeq 2024-08-14 18:23:13 +00:00
testing testing: implement testing.B.Loop 2024-09-20 19:09:41 +00:00
text/template text/template: support range-over-int 2024-09-26 20:17:24 +00:00
time time: implement the encoding.(Binary|Text)Appender for Time 2024-08-20 16:48:48 +00:00
0-heading.md doc: initialize next directory for Go 1.24 2024-07-22 17:55:04 +00:00
README doc: initialize next directory for Go 1.24 2024-07-22 17:55:04 +00:00

API changes and other small changes to the standard library go here.