From 98f9424e777433e5912b878308b617994b69265e Mon Sep 17 00:00:00 2001 From: junleea <354425203@qq.com> Date: Sat, 18 Oct 2025 23:53:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E8=BE=93=E5=87=BA?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.go b/main.go index 82b0263..d54913d 100644 --- a/main.go +++ b/main.go @@ -103,6 +103,10 @@ func initConfig(configPath string) { err := proto.ReadConfig(configPath) if err != nil { panic("failed to read config file:" + err.Error()) + } else { + //输出配置文件 + config_bytes, _ := json.Marshal(proto.Config) + log.Println(string(config_bytes)) } }