commit | fab1c8d9a3b0854d1041db56f7dd0ebe70cc9fcc | [log] [tgz] |
---|---|---|
author | Joe Tsai <joetsai@digital-static.net> | Wed Nov 13 10:13:28 2019 -0800 |
committer | Joe Tsai <joetsai@google.com> | Wed Nov 13 18:38:37 2019 +0000 |
tree | a304314810b5c64acf22a577cfc7c1c6fad09de3 | |
parent | 613285cf7a5bfa3ca4699028aa6a4654dc1379b6 [diff] |
testing/protocmp: switch Enum.Number to be a method Accessing Number as a method, rather than a field paves the way to have Enum potentially implement protoreflect.Enum in the future. Change-Id: Iebe9c0ec12e067decf2121d12fe2fb1549477b32 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/207077 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.