commit | 61781dd92f1fcd07cf9205a5f6f6ab2d6cd642a4 | [log] [tgz] |
---|---|---|
author | Damien Neil <dneil@google.com> | Tue Jan 21 13:29:51 2020 -0800 |
committer | Damien Neil <dneil@google.com> | Wed Jan 22 00:22:46 2020 +0000 |
tree | 65b7ac68526612949e7a0680c055d30fe825dd98 | |
parent | f12fb45fd636bdbd0a9734399921e580d3585330 [diff] |
all: abstract fast-path marshal and unmarshal inputs and outputs We may want to make changes to the inputs and outputs of the fast-path functions in the future. For example, we likely want to add the ability for the fast-path unmarshal to report back whether the unmarshaled message is known to be initialized. Change the signatures of these functions to take in and return struct types which can be extended with whatever fields we want in the future. Change-Id: Idead360785df730283a4630ea405265b72482e62 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/215719 Reviewed-by: Joe Tsai <joetsai@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.