go/src/encoding
Richard Barnes 0bb96beace encoding/asn1: Improved control of flags and times
This change corrects the serialization of asn1.Flag values, so that
when set, they serialize to an empty value, and when unset, they are
omitted. It also adds a format parameter that allows calling code
to control whether time.Time values are serialized as UTCTime or
GeneralizedTime.

Change-Id: I6d97abf009ea317338dab30c80f35a2de7e07104
Reviewed-on: https://go-review.googlesource.com/5970
Reviewed-by: Adam Langley <agl@golang.org>
Run-TryBot: Adam Langley <agl@golang.org>
2015-04-28 16:35:13 +00:00
..
ascii85 build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
asn1 encoding/asn1: Improved control of flags and times 2015-04-28 16:35:13 +00:00
base32 build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
base64 encoding/base64: Optimize EncodeToString and DecodeString. 2015-04-24 01:45:43 +00:00
binary encoding/binary: cull dead code 2015-03-14 02:51:22 +00:00
csv encoding/csv: Preallocate records slice 2015-04-26 16:28:51 +00:00
gob encoding/gob: fix hang from skipping large slices 2015-04-17 22:04:34 +00:00
hex build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
json encoding/json: Fixed the comment specifying Marshal behavior for maps. 2015-02-18 23:57:36 +00:00
pem encoding/pem: eliminate allocations for newlines during encoding 2014-12-21 22:06:09 +00:00
xml encoding/xml: do not escape newlines 2015-04-27 15:38:04 +00:00
encoding.go build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00