commit | cc2b078f98f8ee2d51a57dcc6e2c24d145d091f0 | [log] [tgz] |
---|---|---|
author | Damien Neil <dneil@google.com> | Fri Apr 05 14:33:10 2019 -0700 |
committer | Damien Neil <dneil@google.com> | Sun Apr 07 17:00:00 2019 +0000 |
tree | 11c16f562632a798e7a429821b0c12c7f8c9f8ce | |
parent | 8fa64d98d8d5979e4f4153fe5ffed0ac0bd677e7 [diff] |
proto: enable/disable fast path with build tags Remove the Reflection field from MarshalOptions and UnmarshalOptions. Disable the fast path and use the reflection-based implementation when the 'protoreflect' build tag is set. Change-Id: Ic674e3af67501de27fb03ec2712fbed40eae7fef Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/170896 Reviewed-by: Joe Tsai <thebrokentoaster@gmail.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.