Add comments on some exported resources

This commit is contained in:
Yann Hamon 2020-06-04 00:51:36 +02:00
parent eb6a2b12b7
commit f64ecad867
5 changed files with 11 additions and 0 deletions

View file

@ -6,6 +6,8 @@ import (
"strings"
)
// FindYamlInDir will find yaml files in folder dir, and send their filenames in batches
// of size batchSize to channel fileBatches
func FindYamlInDir(dir string, fileBatches chan<- []string, batchSize int) error {
files := []string{}