1
0
mirror of https://github.com/golang/go synced 2024-11-15 10:30:54 -07:00
go/doc/next/6-stdlib/99-minor
Olivier Mengué 74cce866f8 testing/fstest: return structured errors in TestFS
TestFS now returns a structured error built with errors.Join to allow to
inspect errors using errors.Is and errors.As.

All errors are now wrapped using fmt.Errorf and %w.

Fixes #63675.

Change-Id: I8fc3363f8ae70085af4afdb84c16be9ca70d7731
Reviewed-on: https://go-review.googlesource.com/c/go/+/537015
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
2024-04-05 17:45:39 +00:00
..
archive/tar archive/tar: add FileInfoNames interface 2024-03-15 16:01:50 +00:00
database/sql doc: fix various release notes mistakes 2024-03-15 03:39:16 +00:00
debug/elf doc: fix various release notes mistakes 2024-03-15 03:39:16 +00:00
net doc/go1.23: document "net/http".Request.CookiesNamed method 2024-03-20 18:08:20 +00:00
os doc: fix various release notes mistakes 2024-03-15 03:39:16 +00:00
path/filepath doc: fix various release notes mistakes 2024-03-15 03:39:16 +00:00
reflect all: add reflect.SliceAt function 2024-04-02 21:51:18 +00:00
runtime/debug doc: fix various release notes mistakes 2024-03-15 03:39:16 +00:00
slices slices: add func Repeat 2024-03-19 21:38:37 +00:00
sync doc: fix various release notes mistakes 2024-03-15 03:39:16 +00:00
syscall doc: fix various release notes mistakes 2024-03-15 03:39:16 +00:00
testing/fstest testing/fstest: return structured errors in TestFS 2024-04-05 17:45:39 +00:00
unicode/utf16 unicode/utf16: add func RuneLen 2024-03-07 19:08:48 +00:00
0-heading.md
README

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