commit | 4663ebc85242a9e20b6f8fd3239b1ede3b73b199 | [log] [tgz] |
---|---|---|
author | Joe Tsai <joetsai@digital-static.net> | Wed Nov 13 17:28:51 2019 -0800 |
committer | Joe Tsai <joetsai@digital-static.net> | Mon Dec 09 22:57:38 2019 +0000 |
tree | cd23a27c0b14b0012da7db110f84a910092f84a8 | |
parent | ce413af0b3e1af755e63046fe088c8c981e832e8 [diff] |
internal/genname: centralize the definitions for generated names Both the generator and the runtime need to agree upon the names of specialized Go struct fields. Centralize that information in an internal genname package. In the mean time, also change the XXX_weak field name to match the name used internally at Google. Change-Id: I026bf354418c363482e5902f21aa5e0cacae24b0 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/207080 Reviewed-by: Damien Neil <dneil@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.