commit | 8e9d5f6e8a0687384bc0db5f6188b49e724c5e5c | [log] [tgz] |
---|---|---|
author | Joe Tsai <joetsai@digital-static.net> | Fri Oct 04 18:57:48 2019 -0700 |
committer | Joe Tsai <thebrokentoaster@gmail.com> | Sat Oct 05 23:12:32 2019 +0000 |
tree | 0885a985c52dea8bcea0e491c099a098eab20c7b | |
parent | 01fdc632396fe544a70746cb12e6c9c4e310e7f1 [diff] |
internal/protolegacy: add stub v1 proto package for testing purposes The protolegacy package is a minimal version of the v1 proto package. This allows us to use this stub version as the dependency for internal/testprotos/legacy packages and avoid a dependency on the real v1 proto package. The implementation of most v1 functionality will panic if called. This way, we know if we the v2 code depends on one of those unimplemented functions. Updates golang/protobuf#962 Change-Id: I20b4091706fd456e4b01ae0931cce30a872639b0 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/199297 Reviewed-by: Damien Neil <dneil@google.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.