Documentation ¶
Index ¶
- func EqualError(actual error, expected error, a ...interface{}) (bool, string)
- func EqualErrorf(actual error, expected error, format string, a ...interface{}) (bool, string)
- func Error(v interface{}, a ...interface{}) (bool, string)
- func Errorf(v interface{}, format string, a ...interface{}) (bool, string)
- func Nil(v interface{}, a ...interface{}) (bool, string)
- func Nilf(v interface{}, format string, a ...interface{}) (bool, string)
- func NonError(v interface{}, a ...interface{}) (bool, string)
- func NonErrorf(v interface{}, format string, a ...interface{}) (bool, string)
- func NonNil(v interface{}, a ...interface{}) (bool, string)
- func NonNilf(v interface{}, format string, a ...interface{}) (bool, string)
- func NonZero(v interface{}, a ...interface{}) (bool, string)
- func NonZerof(v interface{}, format string, a ...interface{}) (bool, string)
- func Zero(v interface{}, a ...interface{}) (bool, string)
- func Zerof(v interface{}, format string, a ...interface{}) (bool, string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EqualError ¶
EqualError asserts that a function returned an error (i.e. not `nil`) and that it is equal to the provided error.
func EqualErrorf ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.