more work done

This commit is contained in:
ston1th 2019-05-01 22:25:23 +02:00
commit abc6159044
24 changed files with 309 additions and 230 deletions

10
pkg/scan/helper.go Normal file
View file

@ -0,0 +1,10 @@
package scan
import (
"path/filepath"
"strings"
)
func isPDF(path string) bool {
return strings.ToLower(filepath.Ext(path)) == pdfExt
}