You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: FindFile.go
    path of file: ./repos/scan4all/webScan/Functions
    
    the code of the file until where you have to start completion: package Funcs

import (
	Configs "github.com/GhostTroops/scan4all/webScan/config"
	"io/ioutil"
	"log"
	"path/filepath"
	"regexp"
	"strings"
)

func fuzzfile(name string, file string) [][]string {
	fuzzObj := regexp.MustCompile(`(?i
    
func FindFileAllJson(pathname string, FindResltAllJson []string) ([]string, error) { //s用于存储临时环境

	fromSlash := filepath.FromSlash(pathname)
	rd, err := ioutil.ReadDir(pathname)

	if err != nil {
		return FindResltAllJson, err
	}

	for _, fi := range rd {
		if fi.IsDir() {
			fullDir := filepath.Join(fromSlash, fi.Name())
			FindResltAllJson, err = FindFileAllJson(fullDir, FindResltAllJson)
			if err != nil {
				return FindResltAllJson, err
			}
		} else {
			filename := filepath.Join(fromSlash, fi.Name())
			FindResltAllJson = append(FindResltAllJson, filename)
		}
	}

	return FindResltAllJson, nil
}