Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lines ¶
type Lines struct { FileName string LineNum int // value -1 means scan the whole file and break after finding what we were looking for Condition func(line string) bool Parser func(line string) (string, bool) }
Lines represents line reader in a given 'FileName' immediately before the given 'LineNum'. Extraction happens when 'Condition' is met and being processed by 'Parser' function.
Click to show internal directories.
Click to hide internal directories.