kis-flow/function/kis_function_e.go

20 lines
306 B
Go
Raw Normal View History

2023-12-31 18:04:28 +08:00
package function
import (
"context"
2024-01-01 17:49:27 +08:00
"kis-flow/kis"
2024-01-02 15:38:51 +08:00
"kis-flow/log"
2023-12-31 18:04:28 +08:00
)
type KisFunctionE struct {
BaseFunction
}
2024-01-01 17:49:27 +08:00
func (f *KisFunctionE) Call(ctx context.Context, flow kis.Flow) error {
2024-01-02 15:38:51 +08:00
log.Logger().InfoF("KisFunctionE, flow = %+v\n", flow)
2023-12-31 18:04:28 +08:00
// TODO 调用具体的Function执行方法
return nil
}