Documentation ¶
Index ¶
- func AutoMigrate(db *gorm.DB)
- func ConfigInit(path string) *config.Config
- func DbClose(db *gorm.DB) func()
- func DbInit(c *config.Config) *gorm.DB
- func EventInit() event2.EventDispatcher
- func InitValidator() *ginValidator.CustomValidatorManager
- func ZapInit(c *config.Config) *zap.SugaredLogger
- func ZapSync(zap *zap.SugaredLogger)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutoMigrate ¶
func ConfigInit ¶
func EventInit ¶
func EventInit() event2.EventDispatcher
func InitValidator ¶
func InitValidator() *ginValidator.CustomValidatorManager
func ZapSync ¶
func ZapSync(zap *zap.SugaredLogger)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.