| commit | dfae831ab7626b8f11a9b5478942ce8c19cca194 | [log] [tgz] |
|---|---|---|
| author | Damien Neil <dneil@google.com> | Tue Sep 03 14:55:30 2019 -0700 |
| committer | Damien Neil <dneil@google.com> | Wed Sep 04 04:34:35 2019 +0000 |
| tree | af78cc8d146187968e87b6094ed51743785f2ef8 | |
| parent | 0e00e666b1c8d107c3d7b8ee36e955d62b72d2d7 [diff] |
types/dynamicpb: New->NewMessage, add NewMessageType 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>
WARNING: This repository is in active development. There are no guarantees about API stability. Breaking changes will occur until a stable release is made and announced.
This repository is for the development of the next major Go implementation of protocol buffers. This library makes breaking API changes relative to the existing Go protobuf library. Of particular note, this API aims to make protobuf reflection a first-class feature of the API and implements the protobuf ecosystem in terms of reflection.
List of relevant design documents:
We appreciate community contributions. See CONTRIBUTING.md.
Issues regarding the new API can be filed at github.com/golang/protobuf. Please use a APIv2: prefix in the title to make it clear that the issue is regarding the new API work.