commit | 592e52e14841c9571a83be0364a7029365c42c9d | [log] [tgz] |
---|---|---|
author | Joe Tsai <joetsai@digital-static.net> | Fri Aug 23 11:39:24 2019 -0700 |
committer | Joe Tsai <joetsai@digital-static.net> | Thu Sep 05 22:07:15 2019 +0000 |
tree | f2fa3d611527d702ffb3447eb317f9f7fc7f41f8 | |
parent | 6c30280ad66a997b8e35f507cb340dee69a225b7 [diff] |
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>
WARNING: This repository is in active development. There are no guarantees about API stability. Breaking changes will occur until a stable release is made and announced.
This repository is for the development of the next major Go implementation of protocol buffers. This library makes breaking API changes relative to the existing Go protobuf library. Of particular note, this API aims to make protobuf reflection a first-class feature of the API and implements the protobuf ecosystem in terms of reflection.
List of relevant design documents:
We appreciate community contributions. See CONTRIBUTING.md.
Issues regarding the new API can be filed at github.com/golang/protobuf. Please use a APIv2:
prefix in the title to make it clear that the issue is regarding the new API work.