Versions in this module Expand all Collapse all v0 v0.0.8 May 2, 2024 Changes in this version type ItemsTable + Name string v0.0.7 Apr 4, 2024 Changes in this version + var StyleBold = Style + var StyleDefault = Style + var StyleDouble = Style + var StyleLight = Style + var StyleRounded = Style + type H struct + Field string + MaxWidth int + Title string + type ItemsTable struct + AutoIndex bool + Headers []H + InlineBorder bool + Items interface{} + func NewItemsTable(titles []string, items interface{}) *ItemsTable + func (t *ItemsTable) EnableAutoIndex() *ItemsTable + func (t *ItemsTable) Render() (string, error) + func (t *ItemsTable) SetColor(attributes ...color.Attribute) *ItemsTable + func (t *ItemsTable) SetStyle(style Style, colors ...color.Attribute) *ItemsTable + type Style []string