Browse Source
Update README.md
Initialize returns vars
pull/69/head
I Dewa Putu Ardi Nusawan
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
README.md
|
|
|
@ -121,6 +121,7 @@ if err != nil { |
|
|
|
log.Fatal(err) |
|
|
|
} |
|
|
|
|
|
|
|
returns := publisher.NotifyReturn() |
|
|
|
go func() { |
|
|
|
for r := range returns { |
|
|
|
log.Printf("message returned from server: %s", string(r.Body)) |
|
|
|
|