diff --git a/internal/core/scheduling.go b/internal/core/scheduling.go new file mode 100644 index 0000000..613569b --- /dev/null +++ b/internal/core/scheduling.go @@ -0,0 +1,7 @@ +package core + +import ( + "github.com/goexl/task/internal/internal/core" +) + +type Scheduling = core.Scheduling diff --git a/scheduing.go b/scheduing.go index 590dcfa..d07b0e8 100644 --- a/scheduing.go +++ b/scheduing.go @@ -2,9 +2,13 @@ package task import ( "github.com/goexl/task/internal/builder" + "github.com/goexl/task/internal/core" "github.com/goexl/task/internal/kernel" ) +// Scheduling 计划 +type Scheduling = core.Scheduling + func NewScheduling(target uint64, subtype kernel.Type) *builder.Scheduling { return builder.NewScheduling(target, subtype) }