Documentation ¶
Index ¶
- func CloseDB(db *gorm.DB) error
- func NewDB(conf config.DBConf) (*gorm.DB, error)
- func NewTestDB() (*gorm.DB, error)
- func OpenMySql(dsn string, gormConfig *gorm.Config) (*gorm.DB, error)
- func OpenPostgreSQL(dsn string, gormConfig *gorm.Config) (*gorm.DB, error)
- func OpenSQLite(filename string, gormConfig *gorm.Config) (*gorm.DB, error)
- func OpenSqlServer(dsn string, gormConfig *gorm.Config) (*gorm.DB, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.