diff --git a/README.md b/README.md index 9cfa456..eed03f1 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ func TestHandler(t *testing.T) { t.Errorf("resp.StatusCode = %q, want %q", got, want) } - err = c.WriteJson("test") + err = c.WriteJSON("test") if err != nil { t.Fatal(err) }