commit | 91e1466d6f13f83f046730bddd7b0b02376b04df | [log] [tgz] |
---|---|---|
author | Joe Tsai <joetsai@digital-static.net> | Thu Sep 13 13:24:35 2018 -0700 |
committer | Joe Tsai <joetsai@digital-static.net> | Wed Oct 17 17:39:36 2018 +0000 |
tree | badd7fe7426bb7675bfaed58613d68ba61394e37 | |
parent | 162c12703cd1f758a3a5c03aeb90de50f7e22f80 [diff] |
internal/impl: implement Vector fields Generate functions for wrapping []T to implement protoreflect.Vector. This implementation uses Go reflection instead to provide a single implementation that can handle all Go slice types. The test harness was greatly expanded to be able to test vectors (in addition to messages and maps in the near future). Change-Id: I0106c175f84a1e7e0a0a5b0e02e2489b70b0d177 Reviewed-on: https://go-review.googlesource.com/c/135339 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.