Examples using... filepath.Walk()
Recent
Walk walks the file tree rooted at root, calling walkFn for each file or
directory in the tree, including root. All errors that arise visiting files
and directories are filtered by walkFn. The files are walked in lexical
order, which makes the output deterministic but means that for very
large direc...
Go has several useful functions for working with directories in the file system.