Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Diff ¶
Diff finds the differences between two strings, returned as HTML, and a boolean indicating if the strings are the same.
func PrettyHTML ¶
func PrettyHTML(dmp *diffmatchpatch.DiffMatchPatch, diffs []diffmatchpatch.Diff) string
PrettyHTML produces pretty HTML for display.
This function is copied and modified from the function `DiffPrettyHtml()` in the github.com/sergi/go-diff/diffmatchpatch package.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.