diff --git a/README.md b/README.md index 106a961..89eb4c2 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ Assuming you have a http service "my.service" with path "/foo/bar" client := http.NewClient() // create request/response -request := client.NewRequest("my.service", "/foo/bar", &proto.Request{}) +request := client.NewRequest("my.service", "/foo/bar", protoRequest{}) response := new(proto.Response) // call service