Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultBar = '│' DefaultFirstNode = '├' DefaultBranchNode = '├' DefaultBranchNodeTB = '┬' DefaultLastNode = '└' DefaultLastNodeTB = '┐' DefaultDash = '─' DefaultFill = ' ' DefaultWidth = 4 )
Default markers.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Bar rune // Marks downward no-branching connections. FirstNode rune // Marks branches to the first child node. BranchNode rune // Marks branches to middle child nodes. LastNode rune // Marks branches to the last child node. Dash rune // Marks righward connections. Fill rune // Marks the filler string. Width int // Gives the width. TB bool // Print tree top to bottom. }
func DefaultConfig ¶
Click to show internal directories.
Click to hide internal directories.