You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
panic: cannot handle unexported field at {*errors.errorString}.s:
"errors".errorString
consider using a custom Comparer; if you control the implementation of type, you can also consider using an Exporter, AllowUnexported, or cmpopts.IgnoreUnexported
The panic could detect when the type being compared implements error and suggest using cmpopts.EquateErrors.
The text was updated successfully, but these errors were encountered:
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
This panics:
The panic could detect when the type being compared implements
error
and suggest usingcmpopts.EquateErrors
.The text was updated successfully, but these errors were encountered: