type go.uber.org/mock/gomock.Matcher
28 uses
go.uber.org/mock/gomock (current package)
call.go#L31: args []Matcher // the args
call.go#L53: mArgs := make([]Matcher, len(args))
call.go#L55: if m, ok := arg.(Matcher); ok {
call.go#L500: func formatGottenArg(m Matcher, arg any) string {
matchers.go#L26: type Matcher interface {
matchers.go#L37: func WantFormatter(s fmt.Stringer, m Matcher) Matcher {
matchers.go#L81: func GotFormatterAdapter(s GotFormatter, m Matcher) Matcher {
matchers.go#L84: Matcher
matchers.go#L165: m Matcher
matchers.go#L208: matchers []Matcher
matchers.go#L229: matchers []Matcher
matchers.go#L335: func All(ms ...Matcher) Matcher { return allMatcher{ms} }
matchers.go#L338: func Any() Matcher { return anyMatcher{} }
matchers.go#L348: func Cond[T any](fn func(x T) bool) Matcher { return condMatcher[T]{fn} }
matchers.go#L360: func AnyOf(xs ...any) Matcher {
matchers.go#L361: ms := make([]Matcher, 0, len(xs))
matchers.go#L363: if m, ok := x.(Matcher); ok {
matchers.go#L378: func Eq(x any) Matcher { return eqMatcher{x} }
matchers.go#L382: func Len(i int) Matcher {
matchers.go#L394: func Nil() Matcher { return nilMatcher{} }
matchers.go#L402: func Not(x any) Matcher {
matchers.go#L403: if m, ok := x.(Matcher); ok {
matchers.go#L417: func Regex(regexStr string) Matcher {
matchers.go#L432: func AssignableToTypeOf(x any) Matcher {
matchers.go#L445: func InAnyOrder(x any) Matcher {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)