修改拼写错误,删除注释代码

This commit is contained in:
zhangwenjian committed 2020-05-01 14:46:20 +08:00
1 parent 8faff5384f
commit 07068656a2
5 files changed
+3 -19

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ func InitLogger() {
case ModeProd:
file, err := os.OpenFile(viper.GetString("logger.dir")+"/api-"+time.Now().Format("2006-01-02")+".log", os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_SYNC, 0600)
if err != nil {
log.Fatal("log init failed")
log.Fatalln("log init failed")
}
var info os.FileInfo