Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractDBAndMigration ¶
func ExtractDBAndMigration(databaseURL string, dbSettings DBSettings, logger *zap.Logger) (*sql.DB, func(*sql.DB) error, error)
ExtractDBAndMigration will return a database connection, and migration function that should be used depending on a database connection string
func NewQueries ¶ added in v0.9.0
Types ¶
type DBSettings ¶
type DBSettings struct { }
DBSettings hold db specific configuration settings required during the db initialization
Click to show internal directories.
Click to hide internal directories.