diff options
| author | Joe Tsai <joetsai@digital-static.net> | 2026-02-12 10:42:52 -0800 |
|---|---|---|
| committer | Joseph Tsai <joetsai@digital-static.net> | 2026-02-13 15:29:29 -0800 |
| commit | 770864f3b452dbd83e33e42b9659c387d03425b9 (patch) | |
| tree | ef470d779a9a345f3c4bfe8e6096c26a8e521408 /src/encoding/json/v2/example_test.go | |
| parent | 1a6c5448a7004fb7073494ffdbd9bac5f1b8be9e (diff) | |
| download | go-770864f3b452dbd83e33e42b9659c387d03425b9.tar.xz | |
encoding/json/v2: remove SkipFunc sentinel error
WARNING: This commit contains breaking changes
for those already using GOEXPERIMENT=jsonv2.
Existing users of SkipFunc should migrate to errors.ErrUnsupported,
for which support was added in at least one prior commit.
Updates #74324
Change-Id: Ifbdee39165a134a33ea0005bbc88df0df15f517f
Reviewed-on: https://go-review.googlesource.com/c/go/+/745041
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ethan Lee <ethanalee@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Nicholas Husin <husin@google.com>
Diffstat (limited to 'src/encoding/json/v2/example_test.go')
| -rw-r--r-- | src/encoding/json/v2/example_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/encoding/json/v2/example_test.go b/src/encoding/json/v2/example_test.go index b95ad0f73c..f8b42ce3de 100644 --- a/src/encoding/json/v2/example_test.go +++ b/src/encoding/json/v2/example_test.go @@ -8,6 +8,7 @@ package json_test import ( "bytes" + "errors" "fmt" "log" "math" |
