优化结构

This commit is contained in:
Yvan
2026-08-28 16:37:53 +08:00
parent 295ee5c49e
commit 6f9908d926
14 changed files with 56 additions and 58 deletions
+2 -5
View File
@@ -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
}