table

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatTableData

func FormatTableData(result any, fieldOrder []string)

FormatTableData formats table data, supports multiple data types

func PrintTableBorder

func PrintTableBorder(columnWidths []int)

PrintTableBorder prints table border

func PrintTableFromSlice

func PrintTableFromSlice(data []map[string]any, fieldOrder []string)

PrintTableFromSlice prints table from slice data Supports custom field order, uses alphabetical order if fieldOrder is empty

Types

This section is empty.

Jump to

Keyboard shortcuts

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