1
0
mirror of https://github.com/golang/go synced 2024-11-19 21:24:40 -07:00
go/src/encoding/json
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
..
testdata
bench_test.go encoding/json: use sync.Map for field cache 2018-03-03 00:08:09 +00:00
decode_test.go go/printer, gofmt: tuned table alignment for better results 2018-04-04 13:39:34 -07:00
decode.go encoding/json: remove unnecessary else conditions 2018-04-09 19:28:23 +00:00
encode_test.go encoding/json: make error capture logic in recover more type safe 2018-02-14 21:34:26 +00:00
encode.go encoding/json: apply conventional error handling in decoder 2018-03-03 17:16:47 +00:00
example_marshaling_test.go
example_test.go encoding/json: update documentation for MarshalIndent 2017-09-12 18:12:24 +00:00
fold_test.go
fold.go
indent.go
number_test.go
scanner_test.go encoding/json: read ahead after value consumption 2018-03-01 19:03:04 +00:00
scanner.go encoding/json: read ahead after value consumption 2018-03-01 19:03:04 +00:00
stream_test.go encoding/json: Include the offset of a SyntaxError 2017-10-31 22:44:14 +00:00
stream.go encoding/json: Include the offset of a SyntaxError 2017-10-31 22:44:14 +00:00
tables.go
tagkey_test.go
tags_test.go
tags.go all: revert "all: prefer strings.IndexByte over strings.Index" 2017-10-05 23:19:10 +00:00