diff options
| author | andig <cpuidle@gmx.de> | 2023-10-14 09:32:20 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-10-18 20:00:40 +0000 |
| commit | 1d400cdfc995b1467d6901e0042bca0f37ffdec2 (patch) | |
| tree | 2ecf9db91fe83cb6391b18cf01d95707b2d8d08d /test/codegen | |
| parent | d1cb2483b70827f8f2f839fe7b0f140c910fc5b7 (diff) | |
| download | go-1d400cdfc995b1467d6901e0042bca0f37ffdec2.tar.xz | |
encoding/json: use reflect.Value.IsZero
IsZero does the same thing, using this rather than writing it again.
Follow-up to https://github.com/golang/go/pull/63519
Change-Id: I93768874052935dd7cb58804f22748091bcc3ef7
GitHub-Last-Rev: dfbc6ed635125535a73fe509716e0df31cc8f7b0
GitHub-Pull-Request: golang/go#63540
Reviewed-on: https://go-review.googlesource.com/c/go/+/535415
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Joseph Tsai <joetsai@digital-static.net>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'test/codegen')
0 files changed, 0 insertions, 0 deletions
