mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2024-12-27 06:21:25 +00:00
c826885a2a
Add type-safe methods to register message, enum, and extension types. Deprecate the NewTypes function and the (*Types).Register method. Add (*File).RegisterFile and deprecate the NewFiles function and the (*File).Register method. Updates golang/protobuf#963 Change-Id: Ie89e77526e0874539e9bd929ca0ba8d758e65a6e Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/199898 Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com> |
||
---|---|---|
.. | ||
proto.go |