// Walk walks the file tree rooted at root, calling walkFn for each file or
// directory in the tree, including root.
Walk walks the file tree rooted at root, calling walkFn for each file or
directory in the tree, including root.
// Walk walks the file tree rooted at root calling walkFn for each file or // directory in the tree including root .
func Walk(root string, walkFn WalkFunc) error {
	info, err := os.Lstat(root)
	if err != nil {
		return walkFn(root, nil, err)
	}
	return walk(root, info, walkFn)
}
func Walk ( root string , walkFn WalkFunc ) error { info , err := os . Lstat ( root ) if err != nil { return walkFn ( root , nil , err ) } return walk ( root , info , walkFn ) }
Walk walks the file tree rooted at root, calling walkFn for each file or
directory in the tree, including root.
Walk walks the file tree rooted at root calling walkFn for each file or directory in the tree including root .