Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTree ¶
Types ¶
type Option ¶
type Option func(*TreeConfig)
func WithFormatter ¶
func WithFormatter(formatter TreeFormatter) Option
func WithPrefix ¶
func WithSuffix ¶
type TreeConfig ¶
type TreeConfig struct {
common.CommonConfig
Formatter TreeFormatter
Style lipgloss.Style
}
type TreeFormatter ¶
type TreeNode ¶
type TreeNode struct {
Value any
Children []TreeNode
Formatter TreeFormatter
}
Click to show internal directories.
Click to hide internal directories.