commit | 6c30280ad66a997b8e35f507cb340dee69a225b7 | [log] [tgz] |
---|---|---|
author | Joe Tsai <joetsai@digital-static.net> | Fri Aug 23 11:41:52 2019 -0700 |
committer | Joe Tsai <joetsai@digital-static.net> | Thu Sep 05 21:59:19 2019 +0000 |
tree | 7a7600e0488b413efaace4dc8e1271c02d05a2de | |
parent | 72980ee410c27bc6dbeaca304012172e75a7bd47 [diff] |
reflect/protoreflect: emit valid Go from GoString Rather than using the <unknown:%d> syntax for GoString, emit something similar to TypeName(%d), which is functionally equivalent to casting the integer to the specified type. Change-Id: Ibf4bd680d1672fcaba9022fb6bd03bbfe249b8b7 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/191580 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.