Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StringifyCell ¶
Types ¶
type Renderer ¶
type Renderer interface {
Render(w io.Writer, items []any, opts ...RendererOptFunc) error
}
type RendererOptFunc ¶
type RendererOptFunc func(*RendererOption)
func SingleElemAndComposeOption ¶
func SingleElemAndComposeOption() RendererOptFunc
type RendererOption ¶
type RendererOption struct {
// only render 0th index element and make it composed into column.
// useful when there is only one element and we need to render object.
SingleElemAndCompose bool
}
Click to show internal directories.
Click to hide internal directories.