diff --git a/README.md b/README.md index c0729caa..b91c65fd 100644 --- a/README.md +++ b/README.md @@ -124,7 +124,7 @@ type Person struct { } func main() { - p := &Person{Name: "World"} + p := &Person{Name:"World"} json.NewDecoder(os.Stdin).Decode(p) fmt.Printf("Hello %v!", p.Name) }