func ReadFiles(path string) ([]string, error) {
	files, err := getPolicyFiles(path)
	if err != nil {
		return nil, fmt.Errorf("search rego files: %w", err)
	}

	return files, nil
}
// ReadFiles returns all of the policy files (not including tests)
// at the given path including its subdirectories.
ReadFiles returns all of the policy files (not including tests)
at the given path including its subdirectories.
// ReadFiles returns all of the policy files ( not including tests ) // at the given path including its subdirectories .
func ReadFiles(path string) ([]string, error) {
	files, err := getPolicyFiles(path)
	if err != nil {
		return nil, fmt.Errorf("search rego files: %w", err)
	}
	return files, nil
}
func ReadFiles ( path string ) ( [ ] string , error ) { files , err := getPolicyFiles ( path ) if err != nil { return nil , fmt . Errorf ( " " , err ) } return files , nil }
ReadFiles returns all of the policy files (not including tests)
at the given path including its subdirectories.
ReadFiles returns all of the policy files ( not including tests ) at the given path including its subdirectories .