protobuf-go/internal/mapsort
Joe Tsai 592e52e148 internal/mapsort: use explicit kind for strings
Rather than handle the string kind in the default case,
explicitly check for the string kind.
Instead, panic with a more useful message for unknown kinds.

Change-Id: I7e205a19658edd62a03f47f5b50a556dd942bf52
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/191579
Reviewed-by: Herbie Ong <herbie@google.com>
2019-09-05 22:07:15 +00:00
..
mapsort_test.go all: refactor Converter 2019-08-05 22:33:14 +00:00
mapsort.go internal/mapsort: use explicit kind for strings 2019-09-05 22:07:15 +00:00