This commit is contained in:
aceld 2024-04-03 20:26:52 +08:00
parent 3976771059
commit 52c62cb266
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ import (
"github.com/aceld/kis-flow/kis"
)
// type CaaS func(context.Context, Connector, Function, Flow, interface{}) error
// type CaaS func(context.Context, Connector, Function, Flow, interface{}) (interface{}, error)
func CaasDemoHanler1(ctx context.Context, conn kis.Connector, fn kis.Function, flow kis.Flow, args interface{}) (interface{}, error) {
fmt.Printf("===> In CaasDemoHanler1: flowName: %s, cName:%s, fnName:%s, mode:%s\n",

View File

@ -14,7 +14,7 @@ func InitConnDemo1(connector kis.Connector) error {
fmt.Println(connConf)
// init connector , 如 初始化数据库链接等
// init connector
return nil
}