Update README.md
diff --git a/README.md b/README.md
index e87f307..2d0f984 100644
--- a/README.md
+++ b/README.md
@@ -26,14 +26,14 @@
 be output to an io.Writer or returned as a string.
 
 ```Go
-diff := UnifiedDiff{
+diff := difflib.UnifiedDiff{
     A:        difflib.SplitLines("foo\nbar\n"),
     B:        difflib.SplitLines("foo\nbaz\n"),
     FromFile: "Original",
     ToFile:   "Current",
     Context:  3,
 }
-text, _ := GetUnifiedDiffString(diff)
+text, _ := difflib.GetUnifiedDiffString(diff)
 fmt.Printf(text)
 ```