Go support for Google's protocol buffers
Go to file
Joe Tsai 781d6f396b testing/protocmp: add Filter options
This CL adds the following helper options:
	func FilterEnum(protoreflect.Enum, cmp.Option) cmp.Option
	func FilterMessage(proto.Message, cmp.Option) cmp.Option
	func FilterField(proto.Message, protoreflect.Name, cmp.Option) cmp.Option
	func FilterOneof(proto.Message, protoreflect.Name, cmp.Option) cmp.Option
	func FilterDescriptor(protoreflect.Descriptor, cmp.Option) cmp.Option

There is primarily exposing pre-existing functionality that the Ignore options
were already depending on to operate.

Change-Id: I44edf2ffa07de980a9ad3284525bfe3b45428d74
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/207177
Reviewed-by: Damien Neil <dneil@google.com>
2020-02-27 23:16:30 +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 all: trivial formatting changes 2020-02-25 21:59:54 +00:00
encoding all: trivial formatting changes 2020-02-25 21:59:54 +00:00
internal internal/impl: fix non-atomic access of MessageState.mi 2020-02-27 20:50:32 +00:00
proto all: trivial formatting changes 2020-02-25 21:59:54 +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/protocmp: add Filter options 2020-02-27 23:16:30 +00:00
types testing/prototest: refactor prototest API 2020-02-20 22:47:27 +00:00
.gitignore .gitignore: cleanup 2020-02-26 19:42:08 +00:00
.travis.yml .travis.yml: configure for OSX 2019-03-13 18:04:08 +00:00
AUTHORS AUTHORS, CONTRIBUTORS, LICENSE, PATENTS: initial commit 2018-08-07 22:39:48 +00:00
CONTRIBUTING.md all: update contributing documentation 2020-02-24 22:15:07 +00:00
CONTRIBUTORS AUTHORS, CONTRIBUTORS, LICENSE, PATENTS: initial commit 2018-08-07 22:39:48 +00:00
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 AUTHORS, CONTRIBUTORS, LICENSE, PATENTS: initial commit 2018-08-07 22:39:48 +00:00
PATENTS AUTHORS, CONTRIBUTORS, LICENSE, PATENTS: initial commit 2018-08-07 22:39:48 +00:00
README.md CONTRIBUTING.md: initial commit 2018-08-01 20:39:06 +00:00
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.