Browse Source
Update README.md
On default options, rename amqp.Config{} to amqp091.Config{}
pull/68/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
1 deletions
-
README.md
|
|
|
@ -32,7 +32,7 @@ go get github.com/wagslane/go-rabbitmq |
|
|
|
### Default options |
|
|
|
|
|
|
|
```go |
|
|
|
consumer, err := rabbitmq.NewConsumer("amqp://user:pass@localhost", amqp.Config{}) |
|
|
|
consumer, err := rabbitmq.NewConsumer("amqp://user:pass@localhost", amqp091.Config{}) |
|
|
|
if err != nil { |
|
|
|
log.Fatal(err) |
|
|
|
} |
|
|
|
|