package
3.3.0+incompatible
Repository: https://github.com/google/agi.git
Documentation: pkg.go.dev

# Packages

Package cases contains functions for Maping strings between various cases (snake, pascal, etc).
Package parse provides support functionality for writing scannerless parsers.
Package reflow supports rewriting the whitespace in a stream of runes.

# Functions

LineNumber prefixes returns s prefixed with a line number for each line, starting from 1.
NewLimitWriter returns an io.Writer that limits the amount of text written through it and optionally adds a marker if it causes the limit to be reached.
Quote takes a slice of strings, and returns a slice where each string has been quoted and escaped to pass down to the command-line.
SplitArgs splits and returns the string s separated by non-quoted whitespace.
Writer returns a io writer that collects lines out of a stream and hands them to the supplied function.

# Structs