1
0
mirror of https://github.com/golang/go synced 2024-11-19 02:24:41 -07:00
go/src/encoding
Daniel Martí 03ac39ce5e std: remove unused bits of code all over the place
Some were never used, and some haven't been used for years.

One exception is net/http's readerAndCloser, which was only used in a
test. Move it to a test file.

While at it, remove a check in regexp that could never fire; the field
is an uint32, so it can never be negative.

Change-Id: Ia2200f6afa106bae4034045ea8233b452f38747b
Reviewed-on: https://go-review.googlesource.com/c/go/+/192621
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-09-02 12:57:37 +00:00
..
ascii85
asn1
base32 all: simplify code using "gofmt -s -w" 2019-05-06 22:19:22 +00:00
base64 encoding/base64: speed up the decoder 2019-03-13 10:39:58 +00:00
binary all: simplify code using "gofmt -s -w" 2019-05-06 22:19:22 +00:00
csv all: change some function documentation to be more idiomatic 2019-07-28 18:09:57 +00:00
gob encoding/gob: properly ignore errors 2019-05-22 20:42:35 +00:00
hex
json std: remove unused bits of code all over the place 2019-09-02 12:57:37 +00:00
pem all: remove PEM-encoded private keys from tests 2019-05-21 20:03:55 +00:00
xml std: remove unused bits of code all over the place 2019-09-02 12:57:37 +00:00
encoding.go