update readme

This commit is contained in:
Asim Aslam 2018-04-25 16:03:22 +01:00
parent 8fb5e20a22
commit b33489e481

View File

@ -192,7 +192,7 @@ func main() {
service.Init()
// Create new greeter client
greeter := proto.GreeterServiceClient("greeter", service.Client())
greeter := proto.NewGreeterService("greeter", service.Client())
// Call the greeter
rsp, err := greeter.Hello(context.TODO(), &proto.HelloRequest{Name: "John"})