protobuf-go/reflect
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
..
protodesc all: make error messages unstable 2019-09-07 00:39:30 +00:00
protoreflect reflect/protoreflect: emit valid Go from GoString 2019-09-05 21:59:19 +00:00
protoregistry reflect/protoregistry: add Num methods for every Range method 2019-09-05 18:06:52 +00:00