Documentation ¶
Index ¶
Constants ¶
View Source
const (
SQLFilesPath = "./sqls"
)
Variables ¶
This section is empty.
Functions ¶
func CheckAndCreateDB ¶
func CheckAndCreateDB() (*goqu.Database, error)
CheckAndCreateDB Checks if database exists, if not, creates one with basic tables, admin user and indexes
func ConnectMock ¶
ConnectMock makes a mock database connection for testing purposes
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.