Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DiffEqual represents an equal diff DiffEqual = diffmatchpatch.DiffEqual // DiffInsert represents an insert diff DiffInsert = diffmatchpatch.DiffInsert // DiffDelete represents a delete diff DiffDelete = diffmatchpatch.DiffDelete )
Variables ¶
This section is empty.
Functions ¶
func Do ¶
func Do(s1, s2 string) (diffs []diffmatchpatch.Diff)
Do computes line-by-line diff between two strings
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.