Documentation ¶
Index ¶
- func InitMySQL(fs embed.FS, dbHost string, dbPort int) (*gorm.DB, error)
- func InitMySQLWithDSN(fs embed.FS, dsn string) (*gorm.DB, error)
- func InitPostgres(fs embed.FS, dbHost string, dbPort int) (*gorm.DB, error)
- func InitSQLiteInFile(fs embed.FS) (*gorm.DB, error)
- func ListDB() map[libgateway.DialectRDBMS]*gorm.DB
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListDB ¶
func ListDB() map[libgateway.DialectRDBMS]*gorm.DB
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.