Swap to implementation pattern, make fields and methods public for extensibility.
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
|
||||
// Types
|
||||
|
||||
type WorkerFactory func(ctx context.Context, id string) (*Worker, error)
|
||||
type WorkerFactory func(ctx context.Context, id string) (Worker, error)
|
||||
|
||||
// Pool Config
|
||||
|
||||
|
||||
Reference in New Issue
Block a user