Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Sort ¶
Sort parses the input file, sorts it according to options, and returns a new sorted file object. If no changes are made, the original file object might be returned (or a new identical one).
func SortListValuesInBody ¶ added in v0.1.1
SortListValuesInBody recursively finds and sorts simple lists within a body. This function is intended to be called from the main Sort function.
Types ¶
type SortOptions ¶
SortOptions defines the sorting behavior.
Click to show internal directories.
Click to hide internal directories.