table

package
v0.10.3 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2025 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 interface{}, 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]interface{}, 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