commit | c6b75611992f73917c3d87983e067214b5d9de30 | [log] [tgz] |
---|---|---|
author | Joe Tsai <joetsai@digital-static.net> | Thu Sep 13 14:24:37 2018 -0700 |
committer | Joe Tsai <thebrokentoaster@gmail.com> | Wed Oct 03 02:10:04 2018 +0000 |
tree | 65898dd3cfcc4027810b83870faacabc68ec8ace | |
parent | b9781cc9382e8813625eb301d0bafbee5b5cdea0 [diff] |
internal/impl: support wrapping Go structs to implement proto.Message Given a pointer to a Go struct (that is well-formed according to the v1 struct field layout), wrap the type such that it implements the v2 protoreflect.Message interface. Change-Id: I5987cad0d22e53970c613cdbbb1cfd4210897f69 Reviewed-on: https://go-review.googlesource.com/c/138897 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.