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

Update ch4-04-grpc.md

This commit is contained in:
smallwhite 2019-03-07 11:40:50 +08:00 committed by GitHub
parent f3b5363895
commit dc33102cd8
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 {