12 lines
186 B
Go
12 lines
186 B
Go
// Copyright (C) 2019 Marius Schellenberger
|
|
|
|
package scan
|
|
|
|
import (
|
|
"path/filepath"
|
|
"strings"
|
|
)
|
|
|
|
func isPDF(path string) bool {
|
|
return strings.ToLower(filepath.Ext(path)) == pdfExt
|
|
}
|