MCPcopy
hub / github.com/pterm/pterm / BulletListPrinter

Struct BulletListPrinter

bulletlist_printer.go:55–61  ·  view source on GitHub ↗

BulletListPrinter is able to render a list.

Source from the content-addressed store, hash-verified

53
54// BulletListPrinter is able to render a list.
55type BulletListPrinter struct {
56 Items []BulletListItem
57 TextStyle *Style
58 Bullet string
59 BulletStyle *Style
60 Writer io.Writer
61}
62
63// WithItems returns a new list with specific Items.
64func (l BulletListPrinter) WithItems(items []BulletListItem) *BulletListPrinter {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected