package utils import "os" func FileExist(path string) bool { _, err := os.Lstat(path) return os.IsExist(err) }