Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TableWriter ¶
type TableWriter[T any] struct { // contains filtered or unexported fields }
func NewTableWriter ¶
func NewTableWriter[T any](columnHeaders []string, columnChooser func(item T) []string) TableWriter[T]
func (*TableWriter[T]) Flush ¶
func (tw *TableWriter[T]) Flush() error
func (*TableWriter[T]) Write ¶
func (tw *TableWriter[T]) Write(item T) error
func (*TableWriter[T]) WriteHeader ¶
func (tw *TableWriter[T]) WriteHeader() error
Click to show internal directories.
Click to hide internal directories.