Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadLongLine ¶
ReadLongLine - an alternative to bufio.Scanner.Scan, which can't handle long lines. This function is slower than bufio.Scanner.Scan, but can handle arbitrary long lines.
func WalkLinesString ¶
func WalkLinesString(inputStr string, walkFn WalkLineFn) error
WalkLinesString ...
Types ¶
type WalkLineFn ¶
WalkLineFn - gets a line as its input if returns an error it stops the walk/reading to break the walk early, without an error, just return io.EOF
Click to show internal directories.
Click to hide internal directories.