mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2024-12-27 15:26:51 +00:00
44000a1bea
The v1 generator doesn't include a "proto3" tag on extension fields, even when the field is defined in a proto3 file. Match that behavior for consistency. We can probably change this later if we want to; it's unlikely anyone is depending on this behavior. The v1 generator uses pointer types for extension fields, even when the field is defined in a proto3 file. (e.g., *FooEnum instead of FooEnum.) Match this behavior. We can't change this without breaking compatibility in the generated code. Change-Id: I4072f3dd1c915bf9ab89f1d5198e0144cb4de20f Reviewed-on: https://go-review.googlesource.com/c/144282 Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com> |
||
---|---|---|
.. | ||
internal_gengo | ||
testdata | ||
golden_test.go | ||
main.go |