table

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Print

func Print(t Table)

func PrintWithStyle

func PrintWithStyle(t Table, style string)

func ToString

func ToString(t Table) string

func ToStringWithStyle

func ToStringWithStyle(t Table, style string) string

Types

type Table

type Table struct {
	Headers []string
	Rows    [][]string
}

func AddRow

func AddRow(t Table, row []string) Table

func New

func New(headers []string) Table

Jump to

Keyboard shortcuts

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