Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Found ¶
Found represents a found match within a file, including the file name, line number, proxy name, and the text that matched.
func SearchInDirectory ¶
SearchInDirectory searches for a pattern in all files within a directory (recursively) and returns a slice of Found structs detailing where the pattern was found.
func SearchInFile ¶
SearchInFile searches for a pattern in a file and returns a slice of Found detailing where the pattern was found.
Click to show internal directories.
Click to hide internal directories.