Documentation ¶
Index ¶
- func ErrorStringComparer() cmp.Option
- func IgnoreContexts() cmp.Option
- func IgnoreUnexported() cmp.Option
- func InfDecComparer() cmp.Option
- func MatchByCmpDiff(t *testing.T, i any, opts ...cmp.Option) any
- func MatchIgnoreContext(t *testing.T, i any, opts ...cmp.Option) any
- func StrFmtDateComparer() cmp.Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorStringComparer ¶
func IgnoreContexts ¶
func IgnoreUnexported ¶
func InfDecComparer ¶
func MatchIgnoreContext ¶
MatchIgnoreContext is a mock matcher that ignores contexts inside the given object.
interfaces generated by swagger bury the ctx into the params, which makes it impossible to mock with this matcher you can use the mocks quite adequately.
func StrFmtDateComparer ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.