Skip to content

Commit 936e03f

Browse files
authored
Merge pull request #3 from ianbruene/differ
Fixed missing Differ init in README.
2 parents ba0ce24 + f21f5bc commit 936e03f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ would output:
5757
Differ has been implemented primarily for the Compare() function at this time.
5858

5959
```Go
60+
diff := difflib.NewDiffer()
6061
out, err := diff.Compare(
6162
[]string{"foo\n", "bar\n", "baz\n"},
6263
[]string{"foo\n", "bar1\n", "asdf\n", "baz\n"})

0 commit comments

Comments
 (0)