Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConnStr string
View Source
var ConnStrWithDb string
View Source
var DB *sql.DB
View Source
var MysqlDatabase string
View Source
var MysqlHosts string
View Source
var MysqlPassword string
View Source
var MysqlUsername string
View Source
var TX *sql.Tx
Functions ¶
func DatabaseEnvKey ¶
func DatabaseEnvKey(key string) func(cfg *TestingConfig)
func DeleteData ¶
func DeleteData()
func MysqlAfterEach ¶
func MysqlAfterEach()
func MysqlBeforeEach ¶
func MysqlBeforeEach()
func MysqlBeforeSuite ¶
func MysqlBeforeSuite()
func MysqlInitTesting ¶
func MysqlInitTesting(t *testing.T, opts ...func(*TestingConfig)) bool
Types ¶
Click to show internal directories.
Click to hide internal directories.