commit | 7bf3ce21452e905672172b85eb5ca48c8b09b894 | [log] [tgz] |
---|---|---|
author | Damien Neil <dneil@google.com> | Fri Dec 21 15:54:06 2018 -0800 |
committer | Damien Neil <dneil@google.com> | Thu Jan 03 21:46:42 2019 +0000 |
tree | cb8bb1fa3c13757cadd586c04a3d4e025413ab2a | |
parent | 60e9f879a3744e8379ec1c68ff865e70d5f84ef6 [diff] |
cmd/protoc-gen-go: generate public imports by parsing the imported .pb.go Rather than explicitly enumerating the set of symbols to import, just parse the imported file and extract every exported symbol. This is possibly a bit more code, but adapts much better to future expansion. Change-Id: I4429664f4c068a2a55949d46aefc19865b008a77 Reviewed-on: https://go-review.googlesource.com/c/155677 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.