mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2024-12-29 12:17:48 +00:00
ccf3fa6cad
The previous generator considers a default value of "" (valid only for string and bytes fields) to be unset, and does not generate a const or var to hold the default value. e.g., message M { optional F string = 1 [default=""]; } does not generate this constant, even though the field has a default value: const Default_M_F string = "" Maintain consistent output. Change-Id: Ib172b02d59c15c05e19a7056d05ce1c619a2fa40 Reviewed-on: https://go-review.googlesource.com/138518 Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com> |
||
---|---|---|
.. | ||
protoc-gen-go | ||
protoc-gen-go-grpc |