From 1be0e8776ffaa99a51a8bc3fb1e97a62513b40d8 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Sat, 1 Dec 2018 11:10:37 +0000 Subject: [PATCH] add wrap call comment --- options.go | 1 + 1 file changed, 1 insertion(+) diff --git a/options.go b/options.go index 2eb2c316..ae2008a2 100644 --- a/options.go +++ b/options.go @@ -174,6 +174,7 @@ func RegisterInterval(t time.Duration) Option { // WrapClient is a convenience method for wrapping a Client with // some middleware component. A list of wrappers can be provided. +// Wrappers are applied in reverse order so the last is executed first. func WrapClient(w ...client.Wrapper) Option { return func(o *Options) { // apply in reverse