Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeUnifiedDiff ¶
ComputeUnifiedDiff generates a unified diff format string.
func FormatDiffHTML ¶
FormatDiffHTML formats diff lines as HTML with syntax highlighting.
func FormatDiffInline ¶
FormatDiffInline formats a single diff line as HTML.
Types ¶
type DiffLine ¶
DiffLine represents a line in a diff with its metadata.
func ComputeLineDiff ¶
ComputeLineDiff computes a line-by-line diff between two strings.
Click to show internal directories.
Click to hide internal directories.