Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MySQLDB ¶
func NewMySQLDB ¶
func NewMySQLDB(dbCfg config.MySQLConfig) (*MySQLDB, error)
type RedisDB ¶
func NewRedisDB ¶
func NewRedisDB(dbCfg config.RedisConfig) (*RedisDB, error)
Use this in the app.go's New function and add the struct type in the App struct in app.go
Click to show internal directories.
Click to hide internal directories.