protobuf-go/cmd/protoc-gen-go/testdata/imports
Damien Neil 993c04dcf2 cmd/protoc-gen-go: generate extensions
Generate everything related to extensions: extension descriptors,
XXX_InternalExtensions fields, etc.

Tweak the order in which we generate code for descriptors to ensure
consistent output with the previous protoc-gen-go.

Change Field.ContainingType to Field.ParentMessage, since we need to get
at the parent of both message fields and extensions (and the "containing
type" of an extension field is the extended message, under existing
terminology).

Change-Id: I5d045ca80536436e7c987bca3d8fb8c1e1521e55
Reviewed-on: https://go-review.googlesource.com/136155
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
2018-09-18 22:49:53 +00:00
..
fmt cmd/protoc-gen-go: generate extensions 2018-09-18 22:49:53 +00:00
test_a_1 cmd/protoc-gen-go: generate extensions 2018-09-18 22:49:53 +00:00
test_a_2 cmd/protoc-gen-go: generate extensions 2018-09-18 22:49:53 +00:00
test_b_1 cmd/protoc-gen-go: generate extensions 2018-09-18 22:49:53 +00:00
test_import_a1m1.pb.go cmd/protoc-gen-go: generate extensions 2018-09-18 22:49:53 +00:00
test_import_a1m1.proto protoc-gen-go: generate imports consistent with previous protoc-gen-go 2018-09-14 22:40:55 +00:00
test_import_a1m2.pb.go cmd/protoc-gen-go: generate extensions 2018-09-18 22:49:53 +00:00
test_import_a1m2.proto protoc-gen-go: generate imports consistent with previous protoc-gen-go 2018-09-14 22:40:55 +00:00
test_import_all.pb.go cmd/protoc-gen-go: generate extensions 2018-09-18 22:49:53 +00:00
test_import_all.proto protoc-gen-go: generate imports consistent with previous protoc-gen-go 2018-09-14 22:40:55 +00:00