Documentation ¶
Index ¶
Constants ¶
View Source
const ( MySqlType = "mysql" SqlLiteType = "sqlite" MariadbType = "mariadb" PostgresSqlType = "postgres" )
Variables ¶
This section is empty.
Functions ¶
func GetDatabase ¶
func GetDatabase(info config.GormDatasource) func() (*gorm.DB, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.