Documentation ¶ Index ¶ func Diff(s1, s2 string) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Diff ¶ func Diff(s1, s2 string) string Diff returns a human-readable description of the differences between s1 and s2. If the "diff" command is available, it returns the output of unified diff on s1 and s2. If the result is non-empty, the strings differ or the diff command failed. Types ¶ This section is empty. Source Files ¶ View all Source files diff.go Click to show internal directories. Click to hide internal directories.