From d2ea46c1394ce1df307e9c6fe2284fcff26007d8 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Mon, 28 Jan 2019 08:20:25 +0000 Subject: [PATCH] update comment --- options.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/options.go b/options.go index 50fd2d5..a52bb81 100644 --- a/options.go +++ b/options.go @@ -36,7 +36,7 @@ func SubscribeContext(ctx context.Context) broker.SubscribeOption { type ackSuccessKey struct{} -// AckOnSuccess allow to AutoAck messages when handler returns without error +// AckOnSuccess will automatically acknowledge messages when no error is returned func AckOnSuccess() broker.SubscribeOption { return setSubscribeOption(ackSuccessKey{}, true) }