add pg conf

This commit is contained in:
noreply
2024-04-10 11:00:50 +08:00
parent 71f0a9cdc3
commit aae8308973
17 changed files with 419 additions and 113 deletions
+7 -5
View File
@@ -10,16 +10,18 @@ import (
"github.com/assimon/luuu/util/log"
)
//Start 服务启动
// Start 服务启动
func Start() {
// 配置加载
config.Init()
// 日志加载
log.Init()
// Mysql启动
dao.MysqlInit()
// redis启动
dao.RedisInit()
// // Mysql启动
// dao.MysqlInit()
// dao.MdbTableInit()
// // redis启动
// dao.RedisInit()
dao.Init()
// 队列启动
mq.Start()
// telegram机器人启动