From 038b380c796c0a362012aadd70b04ad3b90d1571 Mon Sep 17 00:00:00 2001 From: souvik Date: Mon, 17 Jun 2024 16:49:33 +0530 Subject: [PATCH] chore: lint fix --- src/generators/go/presets/CommonPreset.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/generators/go/presets/CommonPreset.ts b/src/generators/go/presets/CommonPreset.ts index 3d7937ebaf..f6303116e6 100644 --- a/src/generators/go/presets/CommonPreset.ts +++ b/src/generators/go/presets/CommonPreset.ts @@ -68,8 +68,8 @@ export const GO_COMMON_PRESET: GoPreset = { } }, union: { - field: ({content}) => { - return `${content} \`json:"-,omitempty\`` - }, + field: ({ content }) => { + return `${content} \`json:"-,omitempty\``; + } } };