joelanford / goscan

A simple tool to scan text, binary, and archive files for keywords
MIT License
2 stars 2 forks source link

Use an io.Reader instead of []byte to scan files. #8

Closed joelanford closed 7 years ago

joelanford commented 7 years ago

Considering context is important, this is slightly more complicated than I originally thought. I'll have to have a []byte buffer that I can use to get the context of the hit.

joelanford commented 7 years ago

Merged by #9