Skip to content

Commit 3c62d69

Browse files
committed
rebase for go struct tag changes
1 parent bca6110 commit 3c62d69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/codegen/golang/result.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ func columnsToStruct(req *plugin.CodeGenRequest, name string, embeds []goEmbed,
380380
tags := map[string]string{}
381381

382382
if req.Settings.Go.EmitJsonTags {
383-
tags["json:"] = JSONTagName(tagName, req.Settings)
383+
tags["json"] = JSONTagName(tagName, req.Settings)
384384
}
385385

386386
gs.EmbedFields = append(gs.EmbedFields, EmbedField{

0 commit comments

Comments
 (0)