]> Cypherpunks repositories - gostls13.git/commit
encoding/xml: use reflect.Value.IsZero
authorapocelipes <seve3r@outlook.com>
Thu, 12 Oct 2023 15:55:54 +0000 (15:55 +0000)
committerGopher Robot <gobot@golang.org>
Thu, 12 Oct 2023 20:48:17 +0000 (20:48 +0000)
commitcc13161a0d62fc1deab019996c17a7da1ff6a7f1
tree187fc07e1808950f2e9389693274e6251d13bd63
parent15a274b621b3654e9b4962a27c9d14ea51645b6c
encoding/xml: use reflect.Value.IsZero

IsZero does the same thing, using this rather than writing it again.

Change-Id: I62810ac2d1a6e189feac03b022c8931fb6993e19
GitHub-Last-Rev: 1d5fd10d96baf75e8b170a2c71949ff3d0884c46
GitHub-Pull-Request: golang/go#63519
Reviewed-on: https://go-review.googlesource.com/c/go/+/534935
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/encoding/xml/marshal.go