Skip to content

Commit cad314e

Browse files
committed
chore: remove unused variable
Signed-off-by: Bo-Yi Wu <[email protected]>
1 parent a13a055 commit cad314e

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

redis.go

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,11 @@ type Worker struct {
3030
channel string
3131
channelSize int
3232

33-
stopOnce sync.Once
34-
stop chan struct{}
35-
runFunc func(context.Context, queue.QueuedMessage) error
36-
logger queue.Logger
37-
stopFlag int32
38-
startFlag int32
33+
stopOnce sync.Once
34+
stop chan struct{}
35+
runFunc func(context.Context, queue.QueuedMessage) error
36+
logger queue.Logger
37+
stopFlag int32
3938
}
4039

4140
// WithAddr setup the addr of NSQ

0 commit comments

Comments
 (0)