refactor: clean code
This commit is contained in:
@@ -18,7 +18,7 @@ func NewStartNode(node *domain.WorkflowNode) *startNode {
|
||||
}
|
||||
}
|
||||
|
||||
func (n *startNode) Run(ctx context.Context) error {
|
||||
func (n *startNode) Process(ctx context.Context) error {
|
||||
// 此类型节点不需要执行任何操作,直接返回
|
||||
n.AddOutput(ctx, n.node.Name, "完成")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user