Documentation ¶
Index ¶
Constants ¶
View Source
const ( MatchRegex MatchType = "regex" MatchExact MatchType = "exact" MatchSubset MatchType = "subset" MatchAbsent MatchType = "absent" ErrMissingField ErrorType = "ErrMissingField" ErrExtraField ErrorType = "ErrExtraField" ErrTypeDiffers ErrorType = "ErrTypeDiffers" ErrValueDiffers ErrorType = "ErrValueDiffers" ErrInvalidTypes ErrorType = "ErrInvalidTypes" ErrInvalidRegex ErrorType = "ErrInvalidRegex" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Diffset ¶
type Diffset []Diff
func Absent ¶
Like Subset, but matching fields error out, extra fields are ignored, and absent fields are OK
Click to show internal directories.
Click to hide internal directories.