Documentation ¶ Overview ¶ Package scanx provides line-scanning primitives for whitespace-trimmed, comment-aware readers. Index ¶ func ScanLines(r io.Reader, processLine func(line string) bool) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ScanLines ¶ func ScanLines(r io.Reader, processLine func(line string) bool) error ScanLines reads r line-by-line and calls processLine on each line after trimming whitespace. Blank lines and lines beginning with '#' are skipped automatically. Scanning terminates early if processLine returns false. Types ¶ This section is empty. Source Files ¶ View all Source files scanx.go Click to show internal directories. Click to hide internal directories.