diff --git a/README.md b/README.md index bbbf729..5fc5c76 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ var simpleA = `{"a":100, "b":200, "c":"hello"}` var simpleB = `{"a":100, "b":200, "c":"goodbye"}` func main() { - patch, e := jsonpatch.CreatePatch([]byte(simpleA), []byte(simpleA)) + patch, e := jsonpatch.CreatePatch([]byte(simpleA), []byte(simpleB)) if e != nil { fmt.Printf("Error creating JSON patch:%v", e) return