We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46126ba commit d6649fbCopy full SHA for d6649fb
internal/codegen/golang/templates/stdlib/queryCode.tmpl
@@ -13,7 +13,10 @@ type {{.Arg.Type}} struct { {{- range .Arg.UniqueFields}}
13
{{end}}
14
15
{{if .Ret.EmitStruct}}
16
-type {{.Ret.Type}} struct { {{- range .Ret.Struct.Fields}}
+type {{.Ret.Type}} struct { {{- range .Ret.Struct.EmbedFields}}
17
+ {{.Name}} {{.Type}} {{if .Tag}}{{$.Q}}{{.Tag}}{{$.Q}}{{end}}
18
+ {{- end}}
19
+ {{- range .Ret.Struct.Fields}}
20
{{.Name}} {{.Type}} {{if .Tag}}{{$.Q}}{{.Tag}}{{$.Q}}{{end}}
21
{{- end}}
22
}
0 commit comments