Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func IsRegExpPattern ¶
func IsRegExpPattern(pattern interface{}) bool
Types ¶
type AssertError ¶
type AssertError struct { Type string Err error FieldName string Actual interface{} Expected interface{} }
cases assert error types
func NewAssertError ¶
func NewAssertError(assertType string, err error, actual interface{}, expected interface{}, fieldName string) *AssertError
func (*AssertError) Error ¶
func (e *AssertError) Error() string
Click to show internal directories.
Click to hide internal directories.