diff --git a/README.md b/README.md index 7dc5465..1a23814 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ if err != nil { ### Default options ```go -publisher, _, err := rabbitmq.NewPublisher("amqp://user:pass@localhost", rabbitmq.Config{}) +publisher, err := rabbitmq.NewPublisher("amqp://user:pass@localhost", rabbitmq.Config{}) if err != nil { log.Fatal(err) }