Versions in this module Expand all Collapse all v0 v0.0.1 May 27, 2024 Changes in this version + func MockRedis() (redisx.Client, redismock.ClientMock) + func NewLog() *logx.Logger + func NewMiniRedis() redisx.Client + func NewRedisCluster() redisx.Client + type AnyTime struct + func (a AnyTime) Match(v driver.Value) bool + type Logger struct + func Wrap(t *testing.T) *Logger + func (l *Logger) Case(format string, args ...any) + func (l *Logger) Fail(format string, args ...any) + func (l *Logger) Pass(format string, args ...any) + func (l *Logger) Quit(format string, args ...any) + func (l *Logger) Require(cond bool, desc string, args ...any) + func (l *Logger) Title(format string, args ...any) + type MockDB struct + func NewSqlmock() *MockDB + func (m *MockDB) Gorm() *MockGorm + type MockGorm struct + DB *gorm.DB