From 849cafb79436b38bee6cfd5e4ff0710b35ab81d9 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Wed, 11 Sep 2024 15:04:26 +0800 Subject: [PATCH] 1 --- main.go | 1 - 1 file changed, 1 deletion(-) diff --git a/main.go b/main.go index 96bfdb5..6387bfa 100644 --- a/main.go +++ b/main.go @@ -22,7 +22,6 @@ func init() { cfg.InitLog() //日志初始化 cfg.InitCache() //缓存初始化 cfg.InitMq() //缓存初始化 - cfg.InitEs() //ElasticSearch初始化 if cfg.Debug { //判断是否是debug if err := db.InitDB(cfg.DB); err != nil { //主数据库初始化 panic(err)