func EnsureDir(path string) error {
	exists, err := DirExists(path)
	if !exists {
		err = os.Mkdir(path, 0755)
		return err
	}
	return err
}
// EnsureDir will create a directory at the given path if it doesn't already exist
EnsureDir will create a directory at the given path if it doesn't already exist
// EnsureDir will create a directory at the given path if it doesn ' t already exist
func EnsureDir(path string) error {
	exists, err := DirExists(path)
	if !exists {
		err = os.Mkdir(path, 0755)
		return err
	}
	return err
}
func EnsureDir ( path string ) error { exists , err := DirExists ( path ) if ! exists { err = os . Mkdir ( path , 0755 ) return err } return err }
EnsureDir will create a directory at the given path if it doesn't already exist
EnsureDir will create a directory at the given path if it doesn ' t already exist