Documentation ¶
Index ¶
- func AddAssertData(key string, value AssertData)
- func AddAssertFlush(flusher AssertFlush)
- func Assert(truth bool, msg string, data ...any)
- func Never(msg string, data ...any)
- func Nil(item any, msg string, data ...any)
- func NoError(err error, msg string, data ...any)
- func NotNil(item any, msg string, data ...any)
- func RemoveAssertData(key string)
- type AssertData
- type AssertFlush
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddAssertData ¶
func AddAssertData(key string, value AssertData)
func AddAssertFlush ¶
func AddAssertFlush(flusher AssertFlush)
func RemoveAssertData ¶
func RemoveAssertData(key string)
Types ¶
type AssertFlush ¶
type AssertFlush interface {
Flush()
}
Click to show internal directories.
Click to hide internal directories.