Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMockDB ¶
NewMockDB creates a new database with tables created from given models. It uses sqlite in memory as the database.
func NewMockLocker ¶
func NewMockRedis ¶
NewMockRedis returns a mock redis client for testing.
Types ¶
Click to show internal directories.
Click to hide internal directories.