style: 配置文件读取错误显示中文问题

This commit is contained in:
TsMask committed 2024-12-25 17:45:34 +08:00
1 parent 7bb0835ab3
commit 046e46a2f3
3 files changed
+13 -13

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ func InitConfig(configFile string) {
// 读取配置文件
err := v.ReadInConfig()
if err != nil {
fmt.Printf("读取配置文件失败: %v \n", err)
fmt.Printf("failure to read configuration file: %v \n", err)
return
}
}