1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-11-24 08:02:32 +02:00

update readme

This commit is contained in:
Asim Aslam 2018-04-08 15:20:10 +01:00
parent c317547e4d
commit 378af01f77

View File

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