From 163f52a5c12443fe2b6290216e175453d05ef610 Mon Sep 17 00:00:00 2001 From: mountain Date: Sun, 4 Feb 2024 21:43:55 +0900 Subject: [PATCH] =?UTF-8?q?=EB=A1=9C=EA=B7=B8=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- reflect_config.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/reflect_config.go b/reflect_config.go index 6a8a95c..38aa5a5 100644 --- a/reflect_config.go +++ b/reflect_config.go @@ -8,7 +8,6 @@ import ( "time" "repositories.action2quare.com/ayo/gocommon/flagx" - "repositories.action2quare.com/ayo/gocommon/logger" ) var configfileflag = flagx.String("config", "", "") @@ -63,11 +62,8 @@ func MonitorConfig[T any](onChanged func(newconf *T)) error { func LoadConfig[T any](outptr *T) error { configfilepath := configFilePath() - logger.Println("configfilepath : ", configfilepath) content, err := os.ReadFile(configfilepath) - logger.Println("ReadFile : ", string(content)) if os.IsNotExist(err) { - logger.Println("os.IsNotExist :", err) return os.WriteFile(configfilepath, []byte("{}"), 0666) }