Documentation ¶
Index ¶
Constants ¶
View Source
const ( PgHost = "localhost" PgPort = 50901 PgUser = "jet" PgPassword = "jet" PgDBName = "jetdb" )
Postgres test database connection parameters
View Source
const ( CockroachHost = "localhost" CockroachPort = 26257 CockroachUser = "jet" CockroachPassword = "jet" CockroachDBName = "jetdb" )
Postgres test database connection parameters
View Source
const ( MySqLHost = "127.0.0.1" MySQLPort = 50902 MySQLUser = "jet" MySQLPassword = "jet" MariaDBHost = "127.0.0.1" MariaDBPort = 50903 MariaDBUser = "jet" MariaDBPassword = "jet" )
MySQL test database connection parameters
Variables ¶
View Source
var ( SakilaDBPath = repo.GetTestDataFilePath("/init/sqlite/sakila.db") ChinookDBPath = repo.GetTestDataFilePath("/init/sqlite/chinook.db") TestSampleDBPath = repo.GetTestDataFilePath("/init/sqlite/test_sample.db") )
sqllite
View Source
var CockroachConnectString = pgConnectionString(CockroachHost, CockroachPort, CockroachUser, CockroachPassword, CockroachDBName)
CockroachConnectString is Cockroach test database connection string
View Source
var PostgresConnectString = pgConnectionString(PgHost, PgPort, PgUser, PgPassword, PgDBName)
PostgresConnectString is PostgreSQL test database connection string
Functions ¶
func MySQLConnectionString ¶
MySQLConnectionString is MySQL connection string for test database
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.