protobuf-go/internal
Herbie Ong c3f4d48629 internal/encoding/text: add extra random space to make output unstable.
Make output deliberately unstable so users don't rely on exactness.

For multi-line output, add another extra random space after <key>: for
at most one field per message.

-- example --
key1: field1
key2:  {
    foo:  bar
}

For single-line output, add another extra random space after a field per
message.

-- example --
key1:field1  key2:{foo:bar}

Change-Id: I3ab25d4d970fdebb88bbd9dd8fa6d73af84338ea
Reviewed-on: https://go-review.googlesource.com/c/150977
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
2018-11-27 00:46:16 +00:00
..
cmd reflect/protoreflect: add Descriptor.Options method 2018-10-23 23:44:11 +00:00
encoding internal/encoding/text: add extra random space to make output unstable. 2018-11-27 00:46:16 +00:00
errors
flags
impl internal/impl: fix Has for proto3 scalars 2018-11-19 23:34:00 +00:00
pragma internal/pragma: package to statically enforce certain properties 2018-08-06 21:47:01 +00:00
protogen/goldentest protogen: generate .meta file with code annotations 2018-10-16 17:22:41 +00:00
set internal/set: add set package for set data structures 2018-08-09 21:46:35 +00:00
testprotos/legacy internal/testprotos/legacy: initial commit 2018-11-13 22:37:52 +00:00
value all: rename Vector as List 2018-11-14 23:03:53 +00:00