Examples using... ioutil.ReadDir()

Recent
ReadDir reads the directory named by dirname and returns a list of directory entries sorted by filename.
Go has several useful functions for working with directories in the file system.