Go support for Google's protocol buffers
Go to file
Joe Tsai 58b42d8892 cmd/protoc-gen-go, runtime/protoimpl: enforce minimum and maximum versions
Generate the needed infrastructure to ensure that we can statically
enforce minimum and maximum versions. This enables us to have a policy
when we release v2 where it fails to build for:
* new generated code with really old runtimes
* new runtimes with really old generated code

Change-Id: Ib699ad62c06dff8f9285806394a741c18db00288
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/178546
Reviewed-by: Damien Neil <dneil@google.com>
2019-05-23 17:53:52 +00:00
cmd cmd/protoc-gen-go, runtime/protoimpl: enforce minimum and maximum versions 2019-05-23 17:53:52 +00:00
compiler/protogen types: consistently name generated protos 2019-05-16 21:55:40 +00:00
encoding cmd/protoc-gen-go, runtime/protoimpl: enforce minimum and maximum versions 2019-05-23 17:53:52 +00:00
internal cmd/protoc-gen-go, runtime/protoimpl: enforce minimum and maximum versions 2019-05-23 17:53:52 +00:00
proto proto, encoding/protojson, encoding/prototext: use Resolver interface 2019-05-22 19:38:45 +00:00
reflect cmd/protoc-gen-go, runtime/protoimpl: enforce minimum and maximum versions 2019-05-23 17:53:52 +00:00
runtime cmd/protoc-gen-go, runtime/protoimpl: enforce minimum and maximum versions 2019-05-23 17:53:52 +00:00
testing/prototest testing/protobuf: fix float comparison bug 2019-05-21 14:02:32 +00:00
types cmd/protoc-gen-go, runtime/protoimpl: enforce minimum and maximum versions 2019-05-23 17:53:52 +00:00
.gitignore cmd/protoc-gen-go/testdata: ignore go.sum 2019-03-11 20:19:03 +00:00
.travis.yml .travis.yml: configure for OSX 2019-03-13 18:04:08 +00:00
AUTHORS
CONTRIBUTING.md
CONTRIBUTORS
go.mod types: remove stub packages 2019-05-16 22:06:16 +00:00
go.sum types: remove stub packages 2019-05-16 22:06:16 +00:00
integration_test.go types: consistently name generated protos 2019-05-16 21:55:40 +00:00
LICENSE
PATENTS
README.md
regenerate.bash internal/cmd/generate-protos: generate test for testdata 2019-03-11 19:40:53 +00:00
test.bash internal/cmd/generate-protos: generate test for testdata 2019-03-11 19:40:53 +00:00

Next Generation Go Protocol Buffers

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.

Design Documents

List of relevant design documents:

Contributing

We appreciate community contributions. See CONTRIBUTING.md.

Reporting Issues

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.