Documentation ¶
Index ¶
- func Check(t *testing.T, errs ...error)
- func CheckEmptyStringInSliceError(input []string) error
- func CheckNilPointerError[T any, K comparable, PtrT *T | []T | map[K]T](ptr PtrT) error
- func CheckNotEqualError[T comparable](actual T, expected T) error
- func CheckZeroLengthError[T any, K comparable, LenT []T | string | map[K]T](t LenT) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckNilPointerError ¶
func CheckNilPointerError[T any, K comparable, PtrT *T | []T | map[K]T](ptr PtrT) error
Accepts pointers to any type, and all slices and maps.
func CheckNotEqualError ¶
func CheckNotEqualError[T comparable](actual T, expected T) error
func CheckZeroLengthError ¶
func CheckZeroLengthError[T any, K comparable, LenT []T | string | map[K]T](t LenT) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.