commit | 56786dc5df1020c892aeb2ecb2e1595a7dbe3957 | [log] [tgz] |
---|---|---|
author | Damien Neil <dneil@google.com> | Tue Feb 11 16:43:13 2020 -0800 |
committer | Damien Neil <dneil@google.com> | Thu Feb 20 22:47:27 2020 +0000 |
tree | e0c002adbd330fe1e697210055e1a0693aa62d97 | |
parent | fb5fde41cd41d9fdd7185cb7e807ed94726b1a7b [diff] |
testing/prototest: refactor prototest API For consistency with other options types in the protobuf module, make the test function a method of the options. Drop the ExtensionTypes option and just look up the extension types to test with in the provided resolver. Change-Id: I7918bd10b7c003e4af56d27521d30218653d5b4d Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/219142 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.