mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-02-06 00:40:02 +00:00
Add pseudo-hidden functions to register the concrete Go type used for the optional types. Also, augment protoc-gen-go to specially generate the descriptor proto to register these types. This change does not add validation logic yet to ensure that the correct option types are passed to the API. Change-Id: I5decc897e14b4bf570a61cf17b57a066a2a0f9d7 Reviewed-on: https://go-review.googlesource.com/c/153017 Reviewed-by: Damien Neil <dneil@google.com>