mirror of
https://github.com/zhufuyi/sponge.git
synced 2025-10-30 12:06:41 +08:00
support database postgresql and tidb
This commit is contained in:
@@ -46,8 +46,8 @@ func InitApp() {
|
||||
logger.Info("init logger succeeded")
|
||||
|
||||
// initializing database
|
||||
//model.InitMysql()
|
||||
//logger.Info("init mysql succeeded")
|
||||
//model.InitDB()
|
||||
//logger.Infof("init %s succeeded", cfg.Database.Driver)
|
||||
//model.InitCache(cfg.App.CacheType)
|
||||
|
||||
// initializing tracing
|
||||
|
||||
Reference in New Issue
Block a user