more work done
This commit is contained in:
parent
de359ab415
commit
abc6159044
24 changed files with 309 additions and 230 deletions
10
pkg/scan/helper.go
Normal file
10
pkg/scan/helper.go
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
package scan
|
||||
|
||||
import (
|
||||
"path/filepath"
|
||||
"strings"
|
||||
)
|
||||
|
||||
func isPDF(path string) bool {
|
||||
return strings.ToLower(filepath.Ext(path)) == pdfExt
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue