protobuf-go/cmd/protoc-gen-go
Joe Tsai a4cbffe4bc reflect/prototype: add registration hooks for options
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>
2018-12-07 19:38:57 +00:00
..
internal_gengo reflect/prototype: add registration hooks for options 2018-12-07 19:38:57 +00:00
testdata cmd/protoc-gen-go: reduce technical debt 2018-12-07 03:13:48 +00:00
golden_test.go reflect/protodesc: split descriptor related functionality from prototype 2018-12-05 00:38:30 +00:00
main.go protogen: add an option to rewrite import paths 2018-09-28 21:19:59 +00:00