commit | afb395b1631d0568147165705ede7e1fa32b49cc | [log] [tgz] |
---|---|---|
author | Joe Tsai <joetsai@digital-static.net> | Thu Feb 28 13:58:57 2019 -0800 |
committer | Joe Tsai <joetsai@digital-static.net> | Wed Oct 30 23:03:12 2019 +0000 |
tree | 53b3a8fbdef09c2bc55c2a1126b043cd9da7dc8b | |
parent | 3770776dcda07973020bb685737c77eb1ff16d2d [diff] |
testing/protocmp: initial commit of cmp helper package High-level API: func Transform() cmp.Option type Enum struct{ ... } type Message map[string]interface{} The Transform function transform messages into a Message type that cmp.Equal and cmp.Diff then knows how to traverse and compare. Change-Id: I445f3b5c69f054b6984f28c205cda69e44af3b89 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/164680 Reviewed-by: Damien Neil <dneil@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.