Documentation ¶
Overview ¶
Package internal is for internal use.
Index ¶
- func JoinError(errs ...error) error
- type Assert
- func (a *Assert) Equal(expected, actual any)
- func (a *Assert) Greater(expected, actual any)
- func (a *Assert) GreaterOrEqual(expected, actual any)
- func (a *Assert) IsNil(v any)
- func (a *Assert) IsNotNil(v any)
- func (a *Assert) Less(expected, actual any)
- func (a *Assert) LessOrEqual(expected, actual any)
- func (a *Assert) NotEqual(expected, actual any)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JoinError ¶
Join returns an error that wraps the given errors. Any nil error values are discarded. Join returns nil if errs contains no non-nil values. The error formats as the concatenation of the strings obtained by calling the Error method of each element of errs, with a newline between each string.
Types ¶
type Assert ¶
Assert is a simple implementation of assertion, only for internal usage
func (*Assert) GreaterOrEqual ¶
GreaterOrEqual check if expected is greate than or equal with actual
func (*Assert) LessOrEqual ¶
LessOrEqual check if expected is less than or equal with actual
Click to show internal directories.
Click to hide internal directories.