Documentation ¶
Index ¶
- func False(t T, actual bool)
- func True(t T, actual bool)
- type Mappy
- type Num
- func (n *Num[N]) EqualTo(expected N)
- func (n *Num[N]) GreaterOrEqual(expected N)
- func (n *Num[N]) GreaterThan(expected N)
- func (n *Num[N]) IsZero()
- func (n *Num[N]) LessOrEqual(expected N)
- func (n *Num[N]) LessThan(expected N)
- func (n *Num[N]) NotEqualTo(expected N)
- func (n *Num[N]) Within(expected N, error float64)
- type Numeric
- type St
- type Str
- type Stringy
- type T
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Mappy ¶
type Mappy[K comparable, V any] struct { T // contains filtered or unexported fields }
func (*Mappy[K, V]) WithValues ¶
func (m *Mappy[K, V]) WithValues(values ...V)
func (*Mappy[K, V]) WithoutKeys ¶
func (m *Mappy[K, V]) WithoutKeys(keys ...K)
type Num ¶
func (*Num[N]) GreaterOrEqual ¶
func (n *Num[N]) GreaterOrEqual(expected N)
func (*Num[N]) GreaterThan ¶
func (n *Num[N]) GreaterThan(expected N)
func (*Num[N]) LessOrEqual ¶
func (n *Num[N]) LessOrEqual(expected N)
func (*Num[N]) NotEqualTo ¶
func (n *Num[N]) NotEqualTo(expected N)
type Str ¶
func (*Str[S]) IsNotEmpty ¶
func (s *Str[S]) IsNotEmpty()
Click to show internal directories.
Click to hide internal directories.