1
0
mirror of https://github.com/golang/go synced 2024-11-19 18:54:41 -07:00
go/src/encoding
bontequero 568d4848f6 encoding/json: remove unnecessary else conditions
Fixes golint warning about "if block ends with a return statement, so drop this else and outdent its block".

Change-Id: Id17ad0bf37ba939386b177b709e9e3c067d8ba21
Reviewed-on: https://go-review.googlesource.com/105736
Run-TryBot: Iskander Sharipov <iskander.sharipov@intel.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-04-09 19:28:23 +00:00
..
ascii85 encoding/ascii85: make bigtest big again 2017-06-23 14:28:30 +00:00
asn1 encoding/asn1: allow '&' in PrintableString fields 2017-12-05 18:22:53 +00:00
base32 Revert "go/printer: forbid empty line before first comment in block" 2017-12-01 01:12:26 +00:00
base64 encoding/base64: optimize DecodeString 2017-10-09 15:39:51 +00:00
binary encoding/binary: use an offset instead of slicing 2018-03-06 18:59:03 +00:00
csv encoding/csv: disallow quote for use as Comma 2018-03-09 00:33:43 +00:00
gob all: remove some unused return parameters 2018-03-24 19:44:47 +00:00
hex encoding/hex: fix potential incorrect Dumper output when Close is called multiple times 2018-02-14 03:25:25 +00:00
json encoding/json: remove unnecessary else conditions 2018-04-09 19:28:23 +00:00
pem encoding/pem: change Encode, EncodeToMemory not to generate partial PEM blocks 2017-12-06 03:59:41 +00:00
xml all: remove duplicate word "the" 2018-02-20 16:45:55 +00:00
encoding.go