formatting

package
v0.0.0-...-9969144 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2025 License: Apache-2.0, MIT Imports: 0 Imported by: 0

Documentation

Overview

Package formatting is a parent package that contains subpackages for typical formatting of CLI output.

The subpackages are:

  • formatting/ansi: provides ANSI escape code formatting for CLI output
  • formatting/dedent: a package for dedenting strings that have a common indentation.
  • formatting/wrap: a package for wrapping text to a specific width.

Directories

Path Synopsis
Package ansi provides a light abstraction around ANSI escape codes.
Package ansi provides a light abstraction around ANSI escape codes.
Package dedent provides a utility for dedenting multiline strings.
Package dedent provides a utility for dedenting multiline strings.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳