Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Signed-off-by: Pouya Vedadiyan <vedadiyan@gmail.com>
  • Loading branch information
Vedadiyan committed Jan 12, 2024
1 parent 9d3236f commit 896e1d0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Expand Up @@ -82,7 +82,9 @@ func main() {
if err != nil {
log.Fatalf("failed to create client, %v", err)
}
log.Fatal(c.StartReceiver(context.Background(), receive));
if err = c.StartReceiver(context.Background(), receive); err != nil {
log.Fatalf("failed to start receiver: %v", err)
}
}
```

Expand Down

0 comments on commit 896e1d0

Please sign in to comment.