Documentation ¶
Index ¶
- func GetClient() *gorm.DB
- func NewClient(config *conf.Config) (*gorm.DB, error)
- func OpenMySql(dsn string, gormConfig *gorm.Config) (*gorm.DB, error)
- func OpenPostgreSQL(dsn string, gormConfig *gorm.Config) (*gorm.DB, error)
- func OpenSqlServer(dsn string, gormConfig *gorm.Config) (*gorm.DB, error)
- type DB
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.