1
0
Fork 0
mirror of https://github.com/vbatts/sl-feeds.git synced 2025-07-25 16:30:28 +00:00

*: golint

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2017-01-29 15:54:47 -05:00
parent e646c9daef
commit c5585b2c1d
Signed by: vbatts
GPG key ID: 10937E57733F1362
2 changed files with 5 additions and 0 deletions

View file

@ -5,6 +5,8 @@ import (
"path/filepath"
)
// FindFiles is a convenience for walk a directory tree for a particular file
// name.
func FindFiles(root, name string) (paths []string, err error) {
paths = []string{}
err = filepath.Walk(root, func(path string, info os.FileInfo, err error) error {