package
0.0.0-20241208190318-80fc79a84806
Repository: https://github.com/grevych/gobox.git
Documentation: pkg.go.dev

# Functions

AnyFloat64 allows any float64 value.
AnyInt64 matches any value of type int64.
AnyMap allows any map to be matched against it when differs.Custom is passed to cmp.
AnyString allows any string to be matched against it when differs.Custom is passed to cmp.
CaptureString matches any string the first time it is used but on the second attempt, the string has to match exactly the same as the first one.
ContainsString matches any string where the provided string is a substring of the string it is being matched against.
No description provided by the author
FloatRange allows a float value between the start and end when differs.Custom is passed to cmp.
No description provided by the author
RFC3339Time allows RFC3339Time string to be matched against it when differs.Custom is passed to cmp.
StackLike allows a stacktrace to be matched against it when differs.Custom is passed to cmp The StackTrace() function is used for the actual matching.
StackTrace returns the diff between two stack traces by comparing loosely In particular, the expected stacktrace can be shorter as well only have a substring.

# Interfaces

CustomComparer is the type returned by custom comparisons.

# Type aliases

Customf converts a function into a custom comparer.