Skip to content

Conversation

@dsnet
Copy link
Collaborator

@dsnet dsnet commented Aug 18, 2020

If cmp panics because it is trying to access an unexported field,
specially suggest the use of cmpopts.EquateErrors if the parent type
implements the error interface.

Fixes #233

If cmp panics because it is trying to access an unexported field,
specially suggest the use of cmpopts.EquateErrors if the parent type
implements the error interface.

Fixes #233
@dsnet dsnet requested a review from neild August 18, 2020 06:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

suggest cmpopts.EquateErrors in error comparison panic

2 participants