Update file.go

This commit is contained in:
xxj
2021-12-03 15:25:15 +08:00
parent b3ad0a2cef
commit d923e3ae3c

View File

@@ -16,7 +16,7 @@ import (
func CheckFileIsExist(filename string) bool {
var exist = true
if _, err := os.Stat(filename); os.IsNotExist(err) {
mylog.Debug(filename + " not exist")
mylog.Debug(err)
exist = false
}
return exist