perf: Index | Files

package diff

import ""


Package Files


func Diff Uses

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.

Package diff imports 5 packages (graph). Updated 2019-08-23. Refresh now. Tools for package owners.