protobuf-go/internal
Joe Tsai 09217f08d2 all: make error messages unstable
Use internal/detrand in the construction of our error messages.
This alters whether there is one or two spaces following the "proto:" prefix.
While it is easy for users to still work around this mutation,
sit at least forces them to write test infrastructure to more fuzzily
match on error strings.

Change-Id: I4ddca717526ee3fc4dbb1e0b36cfca8c6e0df36d
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/194038
Reviewed-by: Herbie Ong <herbie@google.com>
2019-09-07 00:39:30 +00:00
..
cmd all: make error messages unstable 2019-09-07 00:39:30 +00:00
conformance internal/conformance: change test package name to conformance_test 2019-08-20 22:30:23 +00:00
descfmt
descopts
detrand
encoding all: rename ExtensionType Descriptor method to TypeDescriptor (1/2) 2019-08-28 18:34:29 +00:00
errors all: make error messages unstable 2019-09-07 00:39:30 +00:00
fieldnum
filedesc internal/filedesc: fix dependency on legacy generated enums 2019-09-03 20:42:35 +00:00
filetype internal/filetype: fix EnumInfo.New 2019-08-30 17:34:31 +00:00
flags all: rename tag and flags for legacy support 2019-08-08 20:49:00 +00:00
impl all: make error messages unstable 2019-09-07 00:39:30 +00:00
mapsort internal/mapsort: use explicit kind for strings 2019-09-05 22:07:15 +00:00
pragma
set
strs compiler/protogen, internal/strs, internal/impl: expose enum Go name derivation 2019-08-26 17:49:17 +00:00
testprotos all: remove NewMessage methods 2019-09-05 17:49:46 +00:00