commit | 6b54131a8912427da470258ff5ce9570b56c72ac | [log] [tgz] |
---|---|---|
author | Damien Neil <dneil@google.com> | Mon Oct 29 09:14:14 2018 -0700 |
committer | Damien Neil <dneil@google.com> | Mon Oct 29 17:01:50 2018 +0000 |
tree | ef256400e0373d5845ea0a45da1fc382bbf928bf | |
parent | 40a08052f9262635c95780ff6d0d203b34f3754d [diff] |
cmd/protoc-gen-go: generate forwarding decls for ExtensionDescs When publicly importing a package with extension definitions, generate forwarding declarations for the "E_..." ExtensionDesc var: var E_ExtensionField = publicimport.E_ExtensionField Change-Id: Ifd57c487c3a44f303c2c098a42ea249b219b734f Reviewed-on: https://go-review.googlesource.com/c/145498 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.