type ContainSubstringMatcher … func (matcher *ContainSubstringMatcher) Match(actual interface{ … } func (matcher *ContainSubstringMatcher) stringToMatch() string { … } func (matcher *ContainSubstringMatcher) FailureMessage(actual interface{ … } func (matcher *ContainSubstringMatcher) NegatedFailureMessage(actual interface{ … }