go/src/mime
Russ Cox d4b2638234 all: go fmt std cmd (but revert vendor)
Make all our package sources use Go 1.17 gofmt format
(adding //go:build lines).

Part of //go:build change (#41184).
See https://golang.org/design/draft-gobuild

Change-Id: Ia0534360e4957e58cd9a18429c39d0e32a6addb4
Reviewed-on: https://go-review.googlesource.com/c/go/+/294430
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jason A. Donenfeld <Jason@zx2c4.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2021-02-20 03:54:50 +00:00
..
multipart all: update to use os.ReadFile, os.WriteFile, os.CreateTemp, os.MkdirTemp 2020-12-09 19:12:23 +00:00
quotedprintable all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
testdata
encodedword.go mime: do a pre-allocation in encodeWord 2018-05-15 16:20:14 +00:00
encodedword_test.go all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
example_test.go all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
grammar.go
mediatype.go mime: encode CTL and non-US-ASCII characters in FormatMediaType 2019-05-23 15:45:00 +00:00
mediatype_test.go mime: encode CTL and non-US-ASCII characters in FormatMediaType 2019-05-23 15:45:00 +00:00
type.go mime: add .json to built-in list of MIME types 2020-03-07 00:35:52 +00:00
type_dragonfly.go
type_freebsd.go
type_openbsd.go
type_plan9.go
type_test.go mime: fix ExtensionsByType bug when there are duplicates 2020-02-25 21:09:55 +00:00
type_unix.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
type_windows.go syscall: remove dependency on io 2020-10-13 00:55:35 +00:00