protobuf-go/cmd/protoc-gen-go/testdata
Damien Neil 4401a0de4b cmd/protoc-gen-go, internal/filetype: clean up EnumType construction
Drop the dependency from generated files on prototype.Enum: Generated
code should only depend on runtime/proto{iface,impl}.

Drop the Enums, Messages, and Extensions returns form
filetype.Builder.Build. Of these, only Enums was used by generated code.
Change the generated init function to pass the builder a slice of values
to fill in (as is done for messages and extensions).

Remove the filetype dependency on prototype in preparation for
eventually dropping the prototype package entirely.

Change-Id: I28a3420f5dfcc13fed531a64ef07b9afddfd9d55
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/189200
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
2019-08-09 19:04:41 +00:00
..
annotations cmd/protoc-gen-go, internal/filetype: clean up EnumType construction 2019-08-09 19:04:41 +00:00
comments cmd/protoc-gen-go, internal/filetype: clean up EnumType construction 2019-08-09 19:04:41 +00:00
extensions cmd/protoc-gen-go, internal/filetype: clean up EnumType construction 2019-08-09 19:04:41 +00:00
fieldnames runtime/protoimpl, cmd/protoc-gen-go: support release versioning 2019-08-07 22:59:30 +00:00
import_public cmd/protoc-gen-go, internal/filetype: clean up EnumType construction 2019-08-09 19:04:41 +00:00
imports cmd/protoc-gen-go, internal/filetype: clean up EnumType construction 2019-08-09 19:04:41 +00:00
issue780_oneof_conflict runtime/protoimpl, cmd/protoc-gen-go: support release versioning 2019-08-07 22:59:30 +00:00
nopackage cmd/protoc-gen-go, internal/filetype: clean up EnumType construction 2019-08-09 19:04:41 +00:00
proto2 cmd/protoc-gen-go, internal/filetype: clean up EnumType construction 2019-08-09 19:04:41 +00:00
proto3 cmd/protoc-gen-go, internal/filetype: clean up EnumType construction 2019-08-09 19:04:41 +00:00
gen_test.go all: change module to google.golang.org/protobuf 2019-05-14 17:28:29 +00:00
go.mod all: refactor extensions, add proto.GetExtension etc. 2019-08-08 18:20:51 +00:00
registry_test.go cmd/protoc-gen-go/testdata: add registry test 2019-07-08 20:23:18 +00:00