From 735cfbf7ef29297f4e6b298dfa8932cb4f0d3f2b Mon Sep 17 00:00:00 2001 From: coward Date: Wed, 8 May 2024 15:18:41 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=E4=BF=AE=E5=A4=8D=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E8=AF=BB=E5=8F=96=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- initialize/init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/initialize/init.go b/initialize/init.go index 6ab4e0d..c29ef4e 100644 --- a/initialize/init.go +++ b/initialize/init.go @@ -33,7 +33,7 @@ func Init() { // initConfig // @description: 初始化配置 func initConfig() { - configBytes, err := os.ReadFile("app.yaml") + configBytes, err := os.ReadFile("./app.yaml") if err != nil { log.Panicf("读取配置文件失败: %v", err.Error()) }