Fix README example
diff --git a/README.md b/README.md
index b565f30..31d4b84 100644
--- a/README.md
+++ b/README.md
@@ -20,7 +20,10 @@
 ## Example
 
 ```go
-import "github.com/mitchellh/mapstructure"
+import (
+  "fmt"
+  "github.com/mitchellh/mapstructure"
+)
 
 type Person struct {
 	Name   string
@@ -42,7 +45,7 @@
 }
 
 var result Person
-err := Decode(input, &result)
+err := mapstructure.Decode(input, &result)
 if err != nil {
 	panic(err)
 }