mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-03-10 16:14:39 +00:00
Rename New to NewMessage, since messages are not the only type in this package. Add NewMessageType to allow creating a MessageType without first creating a Message. Fixes golang/protobuf#934 Change-Id: I9c59594a436dec75d3e26078b0055a4aa08e0169 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/193157 Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>