update readme

This commit is contained in:
Asim Aslam 2017-01-01 19:33:44 +00:00 committed by Vasiliy Tolstov
parent f4e2c155f5
commit 71b9333aca

View File

@ -37,7 +37,7 @@ client := http.NewClient()
// create request/response // create request/response
request := client.NewRequest("my.service", "/foo/bar", protoRequest{}) request := client.NewRequest("my.service", "/foo/bar", protoRequest{})
response := new(proto.Response) response := new(protoResponse)
// call service // call service
err := client.Call(context.TODO(), request, response) err := client.Call(context.TODO(), request, response)