kis-flow/function/kis_function_c.go

20 lines
289 B
Go
Raw Normal View History

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