Skip to content

Commit 330590a

Browse files
fix(go generator): json tag formatting in CommonPreset.ts
1 parent d5141e0 commit 330590a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generators/go/presets/CommonPreset.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export const GO_COMMON_PRESET: GoPreset<GoCommonPresetOptions> = {
7272
},
7373
union: {
7474
field: ({ content }) => {
75-
return `${content} \`json:"-,omitempty\``;
75+
return `${content} \`json:"-,omitempty"\``;
7676
}
7777
}
7878
};

0 commit comments

Comments
 (0)