package util import "os" func FileExist(path string) bool { if _, err := os.Stat(path); os.IsNotExist(err) { return false } return true }