Skip to content

Commit

Permalink
fixed code
Browse files Browse the repository at this point in the history
  • Loading branch information
fuwensun committed Aug 6, 2018
1 parent 1d13c6f commit 793638f
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 @@ -368,7 +368,7 @@ func main() {
defer conn.Close()

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

0 comments on commit 793638f

Please sign in to comment.