tableformatter

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package tableformatter configures the tablewriter library to display data in a tabled format used by various CLI commands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatTable

func FormatTable(input [][]string) string

FormatTable formats a 2D array of strings and returns a (potentially long) string of the output. Input is in row-major order. The first row of input is taken as the header and is forced to uppercase. This function does _NOT_ sanitize the input.

Types

This section is empty.

Jump to

Keyboard shortcuts

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