优化结构
This commit is contained in:
@@ -2,10 +2,7 @@ package task
|
||||
|
||||
import platformtask "kra/pkg/task"
|
||||
|
||||
type TaskMethodFunc = platformtask.MethodFunc
|
||||
type TaskMethod = platformtask.Method
|
||||
|
||||
type TaskMethodRegistry interface {
|
||||
Lookup(string) (TaskMethodFunc, bool)
|
||||
List() []TaskMethod
|
||||
Lookup(string) (platformtask.MethodFunc, bool)
|
||||
List() []platformtask.Method
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user