1
0
mirror of https://github.com/golang/go synced 2024-11-19 22:04:44 -07:00
go/src/mime
Daniel Martí 7cb3e4fb1d all: unindent some if bodies by exiting early
All of these had a return or break in the else body, so flipping the
condition means we can unindent and simplify.

Change-Id: If93e97504480d18a0dac3f2c8ffe57ab8bcb929c
Reviewed-on: https://go-review.googlesource.com/74190
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2017-10-31 20:07:46 +00:00
..
multipart mime/multipart: permit empty file name 2017-10-24 20:21:03 +00:00
quotedprintable
testdata
encodedword_test.go
encodedword.go all: revert "all: prefer strings.IndexByte over strings.Index" 2017-10-05 23:19:10 +00:00
example_test.go
grammar.go
mediatype_test.go mime: ignore key on ParseMediaType when value don't pass RFC 2231 check 2017-08-29 21:10:56 +00:00
mediatype.go all: unindent some if bodies by exiting early 2017-10-31 20:07:46 +00:00
type_dragonfly.go
type_freebsd.go
type_openbsd.go
type_plan9.go
type_test.go
type_unix.go
type_windows.go
type.go