commit | f31bf2612e2f45b48f85abe1960b8866e545fb32 | [log] [tgz] |
---|---|---|
author | Joe Tsai <joetsai@digital-static.net> | Mon Mar 18 14:54:34 2019 -0700 |
committer | Joe Tsai <thebrokentoaster@gmail.com> | Mon Mar 18 23:11:12 2019 +0000 |
tree | 235a29e426bb3a151468ee62b3e3c673afdce9d0 | |
parent | 8e506a8704ce9ca738f25730c09a9ab0d876cf90 [diff] |
cmd/protoc-gen-go: only depend on v2 proto package This CL breaks another dependency of v2 on v1. A missing feature in v2 is proto.Clone, but we can use a Marshal/Unmarshal roundtrip to achieve the same effect as a temporary stop-gap. Change-Id: I9d0432fd3efe9fc8b34db6c5a1eabbef0c36277c Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/168217 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.