mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2024-12-29 12:17:48 +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> |
||
---|---|---|
.. | ||
build.go |