formatting

package
v0.9.5 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrettyPrintTable

func PrettyPrintTable(rows [][]string, maxWidths []int)

PrettyPrintTable prints a table (slice of rows, each a slice of string) maxWidths is an optional slice of maximum widths for each column. Pass nil (or a slice of different length) to skip max-width limitations.

Types

This section is empty.

Jump to

Keyboard shortcuts

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