Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // TempDir temp folder for sqlite database TempDir string // PostgresTestDatabase postgresql database config details PostgresTestDatabase *database.Config )
Functions ¶
func CheckValidConfig ¶
func CheckValidConfig(config *drivers.ConnectionDetails) bool
CheckValidConfig checks if database connection details are empty
func CloseDatabase ¶
CloseDatabase closes database connection
func ConnectToDatabase ¶
ConnectToDatabase opens connection to database and returns pointer to instance of database.DB
func GetConnectionDetails ¶
GetConnectionDetails returns connection details for CI or test db instances
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.