commit | 3dbd95a5581ce2fdd5d2da9f12b0e21c321612a6 | [log] [tgz] |
---|---|---|
author | Damien Neil <dneil@google.com> | Wed Feb 19 10:48:36 2020 -0800 |
committer | Damien Neil <dneil@google.com> | Wed Feb 19 20:35:39 2020 +0000 |
tree | bf4e7be907df63e7b0c0686f22d492c11e8c2ea1 | |
parent | c4051cd4ec0a2615a1d35d72f6191989a53d8de7 [diff] |
reflect/protoreflect: add List.AppendMutable and Map.Mutable Add methods to add a new, mutable message to a list or map, matching the existing Message.Mutable. These methods are purely a convenience, as each can be implemented in terms of the existing interface. Change-Id: I889c20fe37ea0f2a566555212e99e6378fb9fe1d Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/220117 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.