From 71acc6fbca173323d3dfbb201425eeab2029b8a3 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期五, 19 四月 2024 01:32:26 +0800 Subject: [PATCH] 调整配置文件位置 --- config/config.go | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/config/config.go b/config/config.go index 0aa97b4..e2d1d8c 100644 --- a/config/config.go +++ b/config/config.go @@ -48,6 +48,7 @@ v.SetConfigType("yaml") v.SetConfigName("gat1400") v.AddConfigPath("./config/") + v.AddConfigPath("../config/") err = v.ReadInConfig() if err != nil { fmt.Println("error on parsing configuration file", err) -- Gitblit v1.8.0