File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 7
7
"github.com/benbjohnson/clock"
8
8
"github.com/cschleiden/go-workflows/backend"
9
9
internal "github.com/cschleiden/go-workflows/internal/worker"
10
- "github.com/cschleiden/go-workflows/internal/workflow"
10
+ workflowinternal "github.com/cschleiden/go-workflows/internal/workflow"
11
+ "github.com/cschleiden/go-workflows/workflow"
11
12
)
12
13
13
14
type WorkflowRegistry interface {
@@ -39,7 +40,7 @@ type worker struct {
39
40
done chan struct {}
40
41
wg * sync.WaitGroup
41
42
42
- registry * workflow .Registry
43
+ registry * workflowinternal .Registry
43
44
44
45
workflowWorker internal.WorkflowWorker
45
46
activityWorker internal.ActivityWorker
@@ -57,7 +58,7 @@ func New(backend backend.Backend, options *Options) Worker {
57
58
options = & internal .DefaultOptions
58
59
}
59
60
60
- registry := workflow .NewRegistry ()
61
+ registry := workflowinternal .NewRegistry ()
61
62
62
63
return & worker {
63
64
backend : backend ,
You can’t perform that action at this time.
0 commit comments