type BeTemporallyMatcher … func (matcher *BeTemporallyMatcher) FailureMessage(actual interface{ … } func (matcher *BeTemporallyMatcher) NegatedFailureMessage(actual interface{ … } func (matcher *BeTemporallyMatcher) Match(actual interface{ … } func (matcher *BeTemporallyMatcher) matchTimes(actual, compareTo time.Time, threshold time.Duration) (success bool) { … }