protobuf-go/reflect/protoreflect
Damien Neil 3dbd95a558 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>
2020-02-19 20:35:39 +00:00
..
methods.go proto, runtime/protoiface, internal/impl: add fast-path Merge 2020-02-14 21:47:10 +00:00
proto_test.go reflect/protoreflect: initial commit 2018-08-10 19:59:50 +00:00
proto.go reflect/protoreflect: update documentation 2020-02-15 00:23:47 +00:00
source.go reflect/protoreflect: update documentation 2020-02-15 00:23:47 +00:00
type.go reflect/protoreflect: update documentation 2020-02-15 00:23:47 +00:00
value_pure.go all: change module to google.golang.org/protobuf 2019-05-14 17:28:29 +00:00
value_test.go all: rename Vector as List 2018-11-14 23:03:53 +00:00
value_union.go reflect/protoreflect: add non-allocating Value constructors 2019-08-26 17:48:05 +00:00
value_unsafe.go all: change module to google.golang.org/protobuf 2019-05-14 17:28:29 +00:00
value.go reflect/protoreflect: add List.AppendMutable and Map.Mutable 2020-02-19 20:35:39 +00:00