mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-01-01 11:58:21 +00:00
17581daabb
If a string default value contains a backtick, it breaks the struct tag formatting logic which assumes such characters never exist. Fix this by adding a structTags type, whose String method knows how to properly escape the value. Change-Id: I96fe5a6630387eac89eef429da5f917125570e4c Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/189557 Reviewed-by: Herbie Ong <herbie@google.com> |
||
---|---|---|
.. | ||
api_flags.go | ||
main.go | ||
reflect.go |