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

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

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
}
}