Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectToTestDB ¶
ConnectToTestDB creates a new test db pool and sets it to data.pool Call this if you're using data.pool somewhere inside a function and want your test to use our test db.
func SetupTestDB ¶
func SetupTestDB()
SetupTestDB is used to setup a transactional database. Use it inside of an `init` function in a test file.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.