Documentation ¶
Index ¶
Constants ¶
View Source
const DriverName = "postgres"
DriverName is the name of the database driver used by NewTestDB
Variables ¶
View Source
var DefaultDataSource = testdb.Env("TEST_PG", "sslmode=disable")
DefaultDataSource is the default database DSN prefix used by NewTestDB
Functions ¶
func MapperFunc ¶
MapperFunc is a custom name mapping function for sqlx.DB.MapperFunc that translates camelcase to snake case and handles known acronyms.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.