protobuf-go/cmd/protoc-gen-go/testdata/proto2
Damien Neil 0bd5a38474 cmd/protoc-gen-go: add support for map fields
Generate the proper map[key]value type for map fields.
Include the protobuf_key and protobuf_val field tags.
Do not generate the map entry structs.

Fix an initialization order bug in protogen: While proto files cannot
contain circular dependencies, a single file can contain dependency
cycles. First create types for all the descriptors in a file, then add
in references (currently just field->message and field->enum) in a
second pass.

Change-Id: Ifedfa657d8dbb00413ba493adee1119b19c1b773
Reviewed-on: https://go-review.googlesource.com/135355
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
2018-09-13 22:20:09 +00:00
..
enum.pb.go cmd/protoc-gen-go: generate common message methods 2018-09-12 22:18:32 +00:00
enum.proto cmd/protoc-gen-go: generate enums 2018-09-11 21:42:46 +00:00
fields.pb.go cmd/protoc-gen-go: add support for map fields 2018-09-13 22:20:09 +00:00
fields.proto cmd/protoc-gen-go: add support for map fields 2018-09-13 22:20:09 +00:00
nested_messages.pb.go cmd/protoc-gen-go: generate getters 2018-09-13 20:51:57 +00:00
nested_messages.proto protogen: generate message skeletons 2018-08-23 22:10:13 +00:00
proto2.pb.go cmd/protoc-gen-go: generate getters 2018-09-13 20:51:57 +00:00
proto2.proto cmd/protoc-gen-go: generate message fields 2018-09-12 18:08:39 +00:00