Documentation
¶
Index ¶
Constants ¶
View Source
const ( SepSpaces = "spaces" SepDash = "dash" SepColon = "colon" )
Separator type constants.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Block ¶
type Block struct {
Kind BlockKind
Header string // header text (for BlockHeader blocks)
Section string // categorized: "commands", "options", "other", ""
Lines []string // raw lines in this block
KeyCol int // start column of the key column (-1 if not a table)
DescCol int // start column of the description column (-1 if not a table)
Separator string // detected separator: SepSpaces, SepDash, SepColon
}
Block represents a contiguous group of lines sharing the same structure.
Click to show internal directories.
Click to hide internal directories.