package
0.0.0-20241226145920-483c662f7ff1
Repository: https://github.com/pingooio/stdx.git
Documentation: pkg.go.dev

# README

This is a Go package for manipulating paragraphs of text.

See https://pkg.go.dev/github.com/pingooio/stdx/deprecated/text for full documentation.

# Packages

No description provided by the author
Package colwriter provides a write filter that formats input lines in multiple columns.
Command mc prints in multiple columns.

# Functions

Indent inserts prefix at the beginning of each non-empty line of s.
IndentBytes inserts prefix at the beginning of each non-empty line of b.
NewIndentWriter makes a new write filter that indents the input lines.
Wrap wraps s into a paragraph of lines of length lim, with minimal raggedness.
WrapBytes wraps b into a paragraph of lines of length lim, with minimal raggedness.
WrapWords is the low-level line-breaking algorithm, useful if you need more control over the details of the text wrapping process.