Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CustomMatcher ¶ added in v0.4.11
func CustomMatcher(matcher func(x interface{}, state map[string]interface{}) bool, stringer func(state map[string]interface{}) string) gomock.Matcher
CustomMatcher creates a matcher from two funcs rather than having to make a new struct and implement Matcher.
Types ¶
type LogMatcher ¶
type LogMatcher interface { types.GomegaMatcher WithLevel(int) LogMatcher WithLogFunc(string) LogMatcher }
LogMatcher is a Gomega matcher for logs.
Click to show internal directories.
Click to hide internal directories.