mirror of
https://github.com/xxjwxc/public.git
synced 2025-09-26 20:01:19 +08:00
Update file.go
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user