Skip to content

Commit

Permalink
Update ch4-04-grpc.md
Browse files Browse the repository at this point in the history
  • Loading branch information
whtiehack authored Mar 7, 2019
1 parent f3b5363 commit dc33102
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ch4-rpc/ch4-04-grpc.md
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ func main() {
defer conn.Close()

client := NewPubsubServiceClient(conn)
stream, err := client.SubscribeTopic(
stream, err := client.Subscribe(
context.Background(), &String{Value: "golang:"},
)
if err != nil {
Expand Down

0 comments on commit dc33102

Please sign in to comment.