Browse Source

conflict

pull/73/head v0.8.0
wagslane 4 years ago
parent
commit
9586180960
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      README.md

+ 2
- 2
README.md View File

@ -92,7 +92,7 @@ if err != nil {
### Default options ### Default options
```go ```go
publisher, returns, err := rabbitmq.NewPublisher("amqp://user:pass@localhost", rabbitmq.Config{})
publisher, _, err := rabbitmq.NewPublisher("amqp://user:pass@localhost", rabbitmq.Config{})
if err != nil { if err != nil {
log.Fatal(err) log.Fatal(err)
} }
@ -106,7 +106,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",
rabbitmq.Config{}, rabbitmq.Config{},
// can pass nothing for no logging // can pass nothing for no logging


Loading…
Cancel
Save