diff --git a/ch4-rpc/ch4-04-grpc.md b/ch4-rpc/ch4-04-grpc.md index 535386d..3f7bb09 100644 --- a/ch4-rpc/ch4-04-grpc.md +++ b/ch4-rpc/ch4-04-grpc.md @@ -346,11 +346,11 @@ func main() { client := NewPubsubServiceClient(conn) - reply, err := client.Publish(context.Background(), &String{Value: "golang: hello Go"}) + _, err = client.Publish(context.Background(), &String{Value: "golang: hello Go"}) if err != nil { log.Fatal(err) } - reply, err := client.Publish(context.Background(), &String{Value: "docker: hello Docker"}) + _, err = client.Publish(context.Background(), &String{Value: "docker: hello Docker"}) if err != nil { log.Fatal(err) }