1
0
mirror of https://github.com/chai2010/advanced-go-programming-book.git synced 2025-05-23 20:02:22 +00:00

Merge pull request #423 from whtiehack/patch-5

Update ch4-04-grpc.md
This commit is contained in:
chai2010 2019-03-07 14:54:14 +08:00 committed by GitHub
commit 9c0935eb55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {