Documentation
¶
Index ¶
- func Contains[S ~[]E, E comparable](t common.T, s S, v E)
- func ContainsString(t common.T, s, v string)
- func Empty(t common.T, object any)
- func Equal[T any](t common.T, want, got T, opts ...cmp.Option)
- func Equalf(t common.T, expected any, actual any, msg string, args ...any)
- func Error(t common.T, e error)
- func False(t common.T, x bool)
- func GreaterThan[T types.Ordered](t common.T, big, small T)
- func GreaterThanOrEqual[T types.Ordered](t common.T, big, small T)
- func In[T any](t common.T, element T, slice []T, opts ...cmp.Option)
- func Len(t common.T, object any, length int)
- func LessThan[T types.Ordered](t common.T, small, big T)
- func LessThanOrEqual[T types.Ordered](t common.T, small, big T)
- func Nil(t common.T, v any)
- func NoError(t common.T, e error)
- func NotContains[S ~[]E, E comparable](t common.T, s S, v E)
- func NotContainsString(t common.T, s, v string)
- func NotEmpty(t common.T, object any)
- func NotEqual[T any](t common.T, want, got T, opts ...cmp.Option)
- func NotIn[T any](t common.T, element T, slice []T, opts ...cmp.Option)
- func NotNil(t common.T, v any)
- func NotPanics(t common.T, expected any)
- func NotZero(t common.T, v any)
- func Panics(t common.T, f func())
- func True(t common.T, x bool)
- func UnsignedInteger[T types.Unsigned](t common.T, want, got T, opts ...cmp.Option)
- func Zero(t common.T, v any)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Contains ¶
func Contains[S ~[]E, E comparable](t common.T, s S, v E)
func ContainsString ¶
func NotContains ¶
func NotContains[S ~[]E, E comparable](t common.T, s S, v E)
func NotContainsString ¶
func UnsignedInteger ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.