Go support for Google's protocol buffers
Go to file
Joe Tsai 49f8611134 proto: allow nil with Clone
The v1 behavior of Clone returned nil as is.
Replicate this behavior in v2 for easier migration.

Change-Id: I79d93f15dd9913604027e31e5d9ff309e0c2da61
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/220437
Reviewed-by: Damien Neil <dneil@google.com>
2020-02-25 19:13:35 +00:00
cmd/protoc-gen-go cmd/protoc-gen-go/testdata: remove go.mod file 2020-02-24 22:15:38 +00:00
compiler/protogen compiler/protogen: add devsite URL to protogen warnings 2020-02-24 20:14:07 +00:00
encoding all: rename IsInitialized as CheckInitialized 2020-02-20 20:45:40 +00:00
internal internal/impl: check for size cache overflow 2020-02-24 20:12:47 +00:00
proto proto: allow nil with Clone 2020-02-25 19:13:35 +00:00
reflect all: rename IsInitialized as CheckInitialized 2020-02-20 20:45:40 +00:00
runtime runtime/protoiface: trivial change to Size 2020-02-25 10:28:07 +00:00
testing testing/prototest: refactor prototest API 2020-02-20 22:47:27 +00:00
types testing/prototest: refactor prototest API 2020-02-20 22:47:27 +00:00
.gitignore cmd/protoc-gen-go/testdata: remove go.mod file 2020-02-24 22:15:38 +00:00
.travis.yml .travis.yml: configure for OSX 2019-03-13 18:04:08 +00:00
AUTHORS
CONTRIBUTING.md all: update contributing documentation 2020-02-24 22:15:07 +00:00
CONTRIBUTORS
go.mod proto: remove IsInitialized 2020-02-24 22:37:49 +00:00
go.sum proto: remove IsInitialized 2020-02-24 22:37:49 +00:00
integration_test.go all: remove reliance on --compact-summary 2020-02-22 01:19:34 +00:00
LICENSE
PATENTS
README.md
regenerate.bash internal/cmd/generate-protos: generate test for testdata 2019-03-11 19:40:53 +00:00
release.bash release.bash: add support for building release binaries 2019-08-21 01:15:26 +00:00
test.bash test.bash: add -failfast flag 2019-08-05 21:48:09 +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.