Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

protocmp: add package to support comparing protobufs in tests #762

Closed
dsnet opened this issue Nov 27, 2018 · 1 comment
Closed

protocmp: add package to support comparing protobufs in tests #762

dsnet opened this issue Nov 27, 2018 · 1 comment
Assignees

Comments

@dsnet
Copy link
Member

dsnet commented Nov 27, 2018

The cmp package provides a powerful way of comparing Go values. However, the package is not all-knowing and the user needs to teach it how to compare specialized types. In a manner similar to the cmpopts package, provide a protocmp package that provides flexibility in comparing protocol buffers.

@dsnet
Copy link
Member Author

dsnet commented Jan 6, 2020

Added in https://golang.org/cl/164680

@dsnet dsnet closed this as completed Jan 6, 2020
@dsnet dsnet changed the title APIv2: protocmp: add package to support comparing protobufs in tests protocmp: add package to support comparing protobufs in tests Mar 4, 2020
@golang golang locked as resolved and limited conversation to collaborators Jun 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant