scanx

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package scanx provides line-scanning primitives for whitespace-trimmed, comment-aware readers.

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL