type HavePrefixMatcher … func (matcher *HavePrefixMatcher) Match(actual interface{ … } func (matcher *HavePrefixMatcher) prefix() string { … } func (matcher *HavePrefixMatcher) FailureMessage(actual interface{ … } func (matcher *HavePrefixMatcher) NegatedFailureMessage(actual interface{ … }