some lint fixes
This commit is contained in:
parent
88ac31dcd9
commit
9f4fda3c8b
11 changed files with 36 additions and 40 deletions
|
|
@ -38,7 +38,7 @@ type Tesseract struct {
|
|||
|
||||
var (
|
||||
wsr = regexp.MustCompile(`[\t\f ]+`)
|
||||
nlr = regexp.MustCompile(`[\n]{3,}`)
|
||||
nlr = regexp.MustCompile(`\n{3,}`)
|
||||
ws = []byte(" ")
|
||||
nl = []byte("\n")
|
||||
)
|
||||
|
|
@ -50,7 +50,7 @@ type Scanner struct {
|
|||
p PDF
|
||||
}
|
||||
|
||||
func New(c core.Config) (s *Scanner, err error) {
|
||||
func New(c *core.Config) (s *Scanner, err error) {
|
||||
var (
|
||||
tcmd string
|
||||
pcmd string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue