aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/json/encode.go
diff options
context:
space:
mode:
authorMateusz Poliwczak <mpoliwczak34@gmail.com>2023-02-23 19:03:00 +0000
committerGopher Robot <gobot@golang.org>2023-02-24 12:38:08 +0000
commitb87c8c3523010be38c53e0c82e58016202be6a0d (patch)
treebbcda661398184812c655762f522472e070441f3 /src/encoding/json/encode.go
parentddb423a7da378902d1b71eb2c0027cc98a94b075 (diff)
downloadgo-b87c8c3523010be38c53e0c82e58016202be6a0d.tar.xz
net/url: simplify values Get
Checking if v == nil is unnecessary, nil map always return the zero value of the value type. Change-Id: I9c5499bc7db72c4c62e02013ba7f9a6ee4795c09 GitHub-Last-Rev: 03fc2330e2ae568eafeb4d2e25e3f3535491062a GitHub-Pull-Request: golang/go#58662 Reviewed-on: https://go-review.googlesource.com/c/go/+/470736 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Than McIntosh <thanm@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/encoding/json/encode.go')
0 files changed, 0 insertions, 0 deletions