Skip to content

Commit 8a83826

Browse files
1NepuNep1Copilot
andauthored
Update internal/codegen/golang/templates/ydb-go-sdk/interfaceCode.tmpl
Co-authored-by: Copilot <[email protected]>
1 parent cde0fb6 commit 8a83826

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/codegen/golang/templates/ydb-go-sdk/interfaceCode.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@
3232
{{- if and (eq .Cmd ":queryrows") ($dbtxParam) }}
3333
{{range .Comments}}//{{.}}
3434
{{end -}}
35-
{{.MethodName}}(ctx context.Context, db DBTX, {{if not .Arg.IsEmpty}}{{.Arg.Pair}}, {{end}}opts ...query.ExecuteOption) ([]Author, error)
35+
{{.MethodName}}(ctx context.Context, db DBTX, {{if not .Arg.IsEmpty}}{{.Arg.Pair}}, {{end}}opts ...query.ExecuteOption) ([]{{.Ret.DefineType}}, error)
3636
{{- else if eq .Cmd ":queryrows"}}
3737
{{range .Comments}}//{{.}}
3838
{{end -}}
39-
{{.MethodName}}(ctx context.Context, {{if not .Arg.IsEmpty}}{{.Arg.Pair}}, {{end}}opts ...query.ExecuteOption) ([]Author, error)
39+
{{.MethodName}}(ctx context.Context, {{if not .Arg.IsEmpty}}{{.Arg.Pair}}, {{end}}opts ...query.ExecuteOption) ([]{{.Ret.DefineType}}, error)
4040
{{- end}}
4141
{{- end}}
4242
}

0 commit comments

Comments
 (0)