Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitTestDB ¶ added in v1.0.1
InitTestDB will init the mock DB and lock the db so that the actual db will not be required.
func ReleaseTestDB ¶ added in v1.0.1
func ReleaseTestDB()
ReleaseTestDB is to release the lock for other unit tests to mock db successfully.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.