Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiffSection ¶
DiffSection extracts the named section from before and after, then returns a unified diff of just that section. Falls back to a full DiffText when the section header is not found in either string. Section detection: scans for a line whose trimmed, lowercased content equals strings.ToLower(section) (with optional leading '#' stripped and trailing ':' stripped).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.