diff --git a/README.md b/README.md index 88659f1..abb8325 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ Diffs are configured with Unified (or ContextDiff) structures, and can be output to an io.Writer or returned as a string. ```Go -diff := difflib.UnifiedDiff{ +diff := difflib.LineDiffParams{ A: difflib.SplitLines("foo\nbar\n"), B: difflib.SplitLines("foo\nbaz\n"), FromFile: "Original",