@@ -12,10 +12,10 @@ type GearsCmdable interface {
1212 TFunctionDelete (ctx context.Context , libName string ) * StatusCmd
1313 TFunctionList (ctx context.Context ) * MapStringInterfaceSliceCmd
1414 TFunctionListArgs (ctx context.Context , options * TFunctionListOptions ) * MapStringInterfaceSliceCmd
15- TFCall (ctx context.Context , libName string , funcName string , numKeys int ) * Cmd
16- TFCallArgs (ctx context.Context , libName string , funcName string , numKeys int , options * TFCallOptions ) * Cmd
17- TFCallASYNC (ctx context.Context , libName string , funcName string , numKeys int ) * Cmd
18- TFCallASYNCArgs (ctx context.Context , libName string , funcName string , numKeys int , options * TFCallOptions ) * Cmd
15+ TFCall (ctx context.Context , libName , funcName string , numKeys int ) * Cmd
16+ TFCallArgs (ctx context.Context , libName , funcName string , numKeys int , options * TFCallOptions ) * Cmd
17+ TFCallASYNC (ctx context.Context , libName , funcName string , numKeys int ) * Cmd
18+ TFCallASYNCArgs (ctx context.Context , libName , funcName string , numKeys int , options * TFCallOptions ) * Cmd
1919}
2020
2121type TFunctionLoadOptions struct {
@@ -98,15 +98,15 @@ func (c cmdable) TFunctionListArgs(ctx context.Context, options *TFunctionListOp
9898
9999// TFCall - invoke a function.
100100// For more information - https://redis.io/commands/tfcall/
101- func (c cmdable ) TFCall (ctx context.Context , libName string , funcName string , numKeys int ) * Cmd {
101+ func (c cmdable ) TFCall (ctx context.Context , libName , funcName string , numKeys int ) * Cmd {
102102 lf := libName + "." + funcName
103103 args := []interface {}{"TFCALL" , lf , numKeys }
104104 cmd := NewCmd (ctx , args ... )
105105 _ = c (ctx , cmd )
106106 return cmd
107107}
108108
109- func (c cmdable ) TFCallArgs (ctx context.Context , libName string , funcName string , numKeys int , options * TFCallOptions ) * Cmd {
109+ func (c cmdable ) TFCallArgs (ctx context.Context , libName , funcName string , numKeys int , options * TFCallOptions ) * Cmd {
110110 lf := libName + "." + funcName
111111 args := []interface {}{"TFCALL" , lf , numKeys }
112112 if options != nil {
@@ -124,15 +124,15 @@ func (c cmdable) TFCallArgs(ctx context.Context, libName string, funcName string
124124
125125// TFCallASYNC - invoke an asynchronous JavaScript function (coroutine).
126126// For more information - https://redis.io/commands/TFCallASYNC/
127- func (c cmdable ) TFCallASYNC (ctx context.Context , libName string , funcName string , numKeys int ) * Cmd {
127+ func (c cmdable ) TFCallASYNC (ctx context.Context , libName , funcName string , numKeys int ) * Cmd {
128128 lf := fmt .Sprintf ("%s.%s" , libName , funcName )
129129 args := []interface {}{"TFCALLASYNC" , lf , numKeys }
130130 cmd := NewCmd (ctx , args ... )
131131 _ = c (ctx , cmd )
132132 return cmd
133133}
134134
135- func (c cmdable ) TFCallASYNCArgs (ctx context.Context , libName string , funcName string , numKeys int , options * TFCallOptions ) * Cmd {
135+ func (c cmdable ) TFCallASYNCArgs (ctx context.Context , libName , funcName string , numKeys int , options * TFCallOptions ) * Cmd {
136136 lf := fmt .Sprintf ("%s.%s" , libName , funcName )
137137 args := []interface {}{"TFCALLASYNC" , lf , numKeys }
138138 if options != nil {
0 commit comments