Documentation ¶
Index ¶
- func NewMysqlDialector(config mysql.Config) gorm.Dialector
- func NewPostgresDialector(config postgres.Config) gorm.Dialector
- func Open(gormDialector gorm.Dialector, config *gorm.Config) (*gorm.DB, error)
- func OpenMysql(db *sql.DB) (*gorm.DB, error)
- func OpenMysqlWithConfig(db *sql.DB, config *gorm.Config) (*gorm.DB, error)
- func OpenPostgres(db *sql.DB) (*gorm.DB, error)
- func OpenPostgresWithConfig(db *sql.DB, config *gorm.Config) (*gorm.DB, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OpenMysqlWithConfig ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.