Align struct

This commit is contained in:
Juan C. Müller 2023-02-17 23:07:07 -05:00
parent 697df812c6
commit 5517a67c9e
No known key found for this signature in database
GPG key ID: A76E55A7FBA1E283

View file

@ -100,9 +100,9 @@ type HandlerFunc func(ctx context.Context) error
// Handler handles jobs on a queue
type Handler struct {
deadline time.Duration
handle HandlerFunc
concurrency int
deadline time.Duration
}
// HandlerOption is function that sets optional configuration for Handlers