protobuf-go/cmd/protoc-gen-go/testdata/imports
Joe Tsai 9667c4816d cmd/protoc-gen-go: reduce technical debt
The following TODOs were addressed:
* Consistently collect all enums, messages, and extensions in a breadth-first order.
The practical affect of this is that the declaration order in a Go file may change.
This simplifies reflection generation, which relies on consistent ordering.
* Removal of placeholder declarations (e.g., "var _ = proto.Marshal") since
protogen is intelligent about including imports as necessary.
* Always generate a default variable or constant for explicit empty strings.
The practical effect of this is the addition of new declarations in some cases.
However, it simplifies our logic such that it matches the protobuf data model.
* Generate the registration statements in a consistent order.

Change-Id: I627bb72589432bb65d53b50965ea88e5f7983977
Reviewed-on: https://go-review.googlesource.com/c/152778
Reviewed-by: Damien Neil <dneil@google.com>
2018-12-07 03:13:48 +00:00
..
fmt cmd/protoc-gen-go: reduce technical debt 2018-12-07 03:13:48 +00:00
test_a_1 cmd/protoc-gen-go: reduce technical debt 2018-12-07 03:13:48 +00:00
test_a_2 cmd/protoc-gen-go: reduce technical debt 2018-12-07 03:13:48 +00:00
test_b_1 cmd/protoc-gen-go: reduce technical debt 2018-12-07 03:13:48 +00:00
test_import_a1m1.pb.go cmd/protoc-gen-go: reduce technical debt 2018-12-07 03:13:48 +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: reduce technical debt 2018-12-07 03:13:48 +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: reduce technical debt 2018-12-07 03:13:48 +00:00
test_import_all.proto cmd/protoc-gen-go: generate blank imports for unused proto dependencies 2018-09-19 21:12:48 +00:00