commit | 1fa8ab0ed5293e1d77b8145272f4b80911a18c87 | [log] [tgz] |
---|---|---|
author | Damien Neil <dneil@google.com> | Thu Sep 27 15:51:05 2018 -0700 |
committer | Damien Neil <dneil@google.com> | Fri Sep 28 21:19:59 2018 +0000 |
tree | d1153018ead84f0ae169cc5eea4248ffd4787b22 | |
parent | 1dab2cb0adb3967eba00dea1059be83464d67455 [diff] |
protogen: add an option to rewrite import paths This allows us to implement the import_prefix parameter in the v1 protoc-gen-go. Drop support for import_prefix in protogen, and explicitly produce an error if it is used in the v2 protoc-gen-go. Change-Id: I66136b6b3affa3c0e9a93dc565619c90c42c0ecc Reviewed-on: https://go-review.googlesource.com/138257 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.