chore: go mod update (#1125)

This commit is contained in:
Kota Kanbe
2021-01-13 11:56:35 +09:00
committed by GitHub
parent 0b55f94828
commit b5506a1368
3 changed files with 48 additions and 26 deletions

View File

@@ -30,6 +30,7 @@ func (lss LibraryScanners) Find(path, name string) map[string]types.Library {
return filtered
}
// Total returns total count of pkgs
func (lss LibraryScanners) Total() (total int) {
for _, lib := range lss {
total += len(lib.Libs)