Browse Source

Update README.md

pull/73/head
Lane Wagner 4 years ago
committed by GitHub
parent
commit
c015d1788b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      README.md

+ 2
- 2
README.md View File

@ -87,7 +87,7 @@ if err != nil {
### Default options ### Default options
```go ```go
publisher, returns, err := rabbitmq.NewPublisher("amqp://user:pass@localhost", amqp091.Config{})
publisher, err := rabbitmq.NewPublisher("amqp://user:pass@localhost", amqp091.Config{})
if err != nil { if err != nil {
log.Fatal(err) log.Fatal(err)
} }
@ -100,7 +100,7 @@ if err != nil {
### With options ### With options
```go ```go
publisher, returns, err := rabbitmq.NewPublisher(
publisher, err := rabbitmq.NewPublisher(
"amqp://user:pass@localhost", "amqp://user:pass@localhost",
amqp091.Config{}, amqp091.Config{},
// can pass nothing for no logging // can pass nothing for no logging


Loading…
Cancel
Save