table

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Style

type Style struct {
	*color.Color
}

type Table

type Table interface {
	AddHeader(header ...string)
	AddRow(vals ...any)

	SetHeaderStyle(style ...color.Attribute)
	SetRowStyle(row int, style ...color.Attribute)
	SetColStyle(col int, style ...color.Attribute)

	Render() string
}

func NewTable

func NewTable(w int, autoExpand bool) Table

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳