Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Database *sqlx.DB = nil
Functions ¶
func InitDB ¶
func InitDB(driver DatabaseDriver)
Types ¶
type DatabaseDriver ¶ added in v0.4.0
type DatabaseDriver string
const ( Postgres DatabaseDriver = "postgres" MySQL DatabaseDriver = "mysql" Turso DatabaseDriver = "libsql" )
Click to show internal directories.
Click to hide internal directories.