Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Path ¶
type Path string
Path is a pathname matcher.
A value matches if it is the same as the matcher pattern or has the matcher pattern as a trailing component. For example, a pattern "abc/def" matches "abc/def" itself, "omg/abc/def", but not "abc/def/wtf", "abc/omg/def", or "xabc/def".
Both the pattern and the value are sanitized using path.Clean() before use.
The empty pattern "" matches only the empty value "".
type Slice ¶
type Slice []interface{}
Slice is a gomock matcher that matches elements of an array or slice against its own members at the corresponding positions. Each member item in a Slice may be a regular item or a gomock Matcher instance.
Click to show internal directories.
Click to hide internal directories.