From 624c624ed470a32a2f05aea2b5bf9f84ce79948e Mon Sep 17 00:00:00 2001 From: rn-h Date: Fri, 24 May 2024 15:09:21 +0800 Subject: [PATCH] Update config.go --- config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config.go b/config/config.go index f8cd34c..02926ee 100644 --- a/config/config.go +++ b/config/config.go @@ -35,7 +35,7 @@ func GetConfig() appConfig { func readJson[T any](path string) T { file, err := os.Open(path) if err != nil { - panic(path + "配置文件不存在") + panic(path + " config not found") } defer file.Close() decoder := json.NewDecoder(file)