Documentation
¶
Index ¶
- func Equal[T comparable](t TInterface, actual, expected T) bool
- func EqualJSON[K comparable, V comparable](t TInterface, actual, expected map[K]V) bool
- func EqualSlice[T comparable](t TInterface, actual, expected []T) bool
- func Error(t TInterface, err error, errMsg ...any) bool
- func ErrorIs(t TInterface, actual, expected error) bool
- func Len[T comparable](t TInterface, expected []T, length int) bool
- func NoError(t TInterface, err error, errMsg ...any) bool
- type TInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Equal ¶
func Equal[T comparable](t TInterface, actual, expected T) bool
func EqualJSON ¶
func EqualJSON[K comparable, V comparable](t TInterface, actual, expected map[K]V) bool
func EqualSlice ¶
func EqualSlice[T comparable](t TInterface, actual, expected []T) bool
func ErrorIs ¶
func ErrorIs(t TInterface, actual, expected error) bool
func Len ¶
func Len[T comparable](t TInterface, expected []T, length int) bool
Types ¶
type TInterface ¶
Click to show internal directories.
Click to hide internal directories.