Documentation ¶
Index ¶
- Variables
- func NewDB(config *Config) (*sql.DB, error)
- func NewDBs(configs Configs) (map[string]*sql.DB, error)
- func NewGormDB(config *Config) (*gorm.DB, error)
- func NewGormDBs(configs Configs) (map[string]*gorm.DB, error)
- func NewSqlxDB(config *Config) (*sqlx.DB, error)
- func NewSqlxDBs(configs Configs) (map[string]*sqlx.DB, error)
- type Config
- type Configs
Constants ¶
This section is empty.
Variables ¶
View Source
var Provider = wire.NewSet( NewDBs, NewSqlxDBs, NewGormDBs, )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.