commit | 36dc22ddb8a46ab2f11cba079cc1192a5d4660a3 | [log] [tgz] |
---|---|---|
author | Joe Tsai <[email protected]> | Tue Jul 09 23:20:27 2019 -0700 |
committer | Joe Tsai <[email protected]> | Wed Jul 10 07:01:20 2019 +0000 |
tree | 0ec37841c4af9927bbbfea998d10af6ef50a3f4c | |
parent | 6dc168e609b1af39a3fe74484606c9e22f89b1f9 [diff] |
encoding: use strs.UnsafeString to avoid duplicated code The strs.UnsafeString casts a []byte as a string. This allows us to avoid duplicated functionality. Change-Id: I9930b94bae35eac0f98c0fa62963b300bc8d7e49 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/185459 Reviewed-by: Herbie Ong <[email protected]>
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.