Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunOnEveryLine ¶ added in v0.1.1
func RunOnEveryLine(reader io.Reader, lineFunction LineFunction, bufferSize int, wg *sync.WaitGroup)
RunOnEveryLine runs a given function on every line that ca be read by reader
Types ¶
type LineFunction ¶ added in v0.1.1
type LineFunction func(line string)
LineFunction is a type of function that handles a single line
Click to show internal directories.
Click to hide internal directories.