Skip to content

Commit

Permalink
Merge pull request #11 from paaaaay5/readme-update
Browse files Browse the repository at this point in the history
[update] readme
  • Loading branch information
mash committed Apr 8, 2024
2 parents 9d7af8b + a8b48e0 commit 47356b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ import (
func main() {
sess := session.Must(session.NewSession())
fh := firehose.New(sess)
fq := firequeue.New(fh)
fq := firequeue.New(fh, "DELIVERY_STREAM_NAME")

ctx := context.Background()
go fq.Loop(ctx) // We should start looping before sending items

err := fq.Send(&firehose.PutRecordInput{...})
err := fq.Enqueue(&firehose.Record{...})
...
}
```
Expand Down

0 comments on commit 47356b1

Please sign in to comment.