refactor lego

This commit is contained in:
yuzuki999 committed 2023-01-12 14:27:06 +08:00
1 parent 05ac7c19f6
commit 405cd246e1
30 files changed
+461 -4070

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
package file
import "os"
func IsExist(path string) bool {
_, err := os.Stat(path)
return err == nil || !os.IsNotExist(err)
}