protobuf-go/cmd/protoc-gen-go/testdata
Joe Tsai d421150c3b reflect/protoreflect: add Enum.Type and Message.Type
CL/174938 removed these methods in favor of a method that returned
only the descriptors. This CL adds back in the Type methods alongside
the Descriptor methods.

In a vast majority of protobuf usages, only the descriptor information
is needed. However, there is a small percentage that legitimately needs
the Go type information. We should provide both, but document that the
descriptor-only information is preferred.

Change-Id: Ia0a098997fb1bd009994940ae8ea5257ccd87cae
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/184578
Reviewed-by: Damien Neil <dneil@google.com>
2019-07-12 23:43:21 +00:00
..
annotations reflect/protoreflect: add Enum.Type and Message.Type 2019-07-12 23:43:21 +00:00
comments reflect/protoreflect: add Enum.Type and Message.Type 2019-07-12 23:43:21 +00:00
extensions reflect/protoreflect: add Enum.Type and Message.Type 2019-07-12 23:43:21 +00:00
fieldnames runtime/protoiface: move and rename XXX_Methods 2019-07-12 19:31:58 +00:00
import_public reflect/protoreflect: add Enum.Type and Message.Type 2019-07-12 23:43:21 +00:00
imports reflect/protoreflect: add Enum.Type and Message.Type 2019-07-12 23:43:21 +00:00
issue780_oneof_conflict runtime/protoiface: move and rename XXX_Methods 2019-07-12 19:31:58 +00:00
nopackage reflect/protoreflect: add Enum.Type and Message.Type 2019-07-12 23:43:21 +00:00
proto2 reflect/protoreflect: add Enum.Type and Message.Type 2019-07-12 23:43:21 +00:00
proto3 reflect/protoreflect: add Enum.Type and Message.Type 2019-07-12 23:43:21 +00:00
gen_test.go all: change module to google.golang.org/protobuf 2019-05-14 17:28:29 +00:00
go.mod internal/fileinit: remove package 2019-06-20 19:35:23 +00:00
registry_test.go cmd/protoc-gen-go/testdata: add registry test 2019-07-08 20:23:18 +00:00