Versions in this module Expand all Collapse all v1 v1.1.0 Apr 4, 2024 Changes in this version + type LineScanner struct + func NewLineScanner(reader io.Reader) *LineScanner + func NewLineScannerString(input string) *LineScanner + func (s *LineScanner) Err() (err error) + func (s *LineScanner) Peek() (next string, ok bool) + func (s *LineScanner) Scan() (ok bool) + func (s *LineScanner) Text() (text string) v1.0.0 Jan 9, 2024 Changes in this version + func ScanFileLines(path string, fn ScanLinesFn) (stopped bool, err error) + func ScanLines(reader io.Reader, fn ScanLinesFn) (stopped bool) + func ScanNulls(reader io.Reader, fn ScanLinesFn) (stopped bool) + type ScanLinesFn func(line string) (stop bool)