Browse Source

Update README.md

Initialize returns vars
pull/69/head
I Dewa Putu Ardi Nusawan 4 years ago
committed by GitHub
parent
commit
020b5b4ed5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      README.md

+ 1
- 0
README.md View File

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


Loading…
Cancel
Save