Versions in this module Expand all Collapse all v2 v2.5.0 Jun 28, 2021 Changes in this version + const Contains + const Equal + const File + const JSON + const NotContains + const Text + const XML + var ReadFile = ioutil.ReadFile + type ContainsMatcher struct + func (m ContainsMatcher) Match(got interface{}, expected interface{}) MatcherResult + type EqualMatcher struct + func (m EqualMatcher) Match(got interface{}, expected interface{}) MatcherResult + type FileMatcher struct + func (m FileMatcher) Match(got interface{}, expected interface{}) MatcherResult + type JSONMatcher struct + func (m JSONMatcher) Match(got interface{}, expected interface{}) MatcherResult + type Matcher interface + Match func(actual interface{}, expected interface{}) MatcherResult + func NewMatcher(matcher string) Matcher + type MatcherResult struct + Diff string + Success bool + type NotContainsMatcher struct + func (m NotContainsMatcher) Match(got interface{}, expected interface{}) MatcherResult + type TextMatcher struct + func (m TextMatcher) Match(got interface{}, expected interface{}) MatcherResult + type XMLMatcher struct + func (m XMLMatcher) Match(got interface{}, expected interface{}) MatcherResult