commit | fb3ff727f07a01e6eea6e251d461ef5d38c97575 | [log] [tgz] |
---|---|---|
author | Joe Tsai <joetsai@digital-static.net> | Thu Jul 18 18:49:46 2019 -0700 |
committer | Joe Tsai <thebrokentoaster@gmail.com> | Fri Jul 19 08:16:51 2019 +0000 |
tree | 29233b54f871770dd1bc46650cde30decfc36c7d | |
parent | 831b8f59b4184a9960291b943399ebdeb35dabdb [diff] |
cmd/protoc-gen-go: refactor logic to be more compartmentalized This CL makes no feature changes except to move code around. The only change to the actual generated code is the placement of the default constants and variables. They move because the new logic generates all methods together, while previously the constants were interspersed in-between. Change-Id: I45932d5aeec5ba45180fb255ea17898beb6c3bd2 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/186878 Reviewed-by: Herbie Ong <herbie@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.