From 3288775a594d8c523d4ef7c68e66847d37940a21 Mon Sep 17 00:00:00 2001 From: ginokent <29125616+ginokent@users.noreply.github.com> Date: Fri, 10 Nov 2023 18:04:26 +0900 Subject: [PATCH] fix: lint --- internal/arcgen/lang/go/generate.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/arcgen/lang/go/generate.go b/internal/arcgen/lang/go/generate.go index ca175a5..5ce41a6 100644 --- a/internal/arcgen/lang/go/generate.go +++ b/internal/arcgen/lang/go/generate.go @@ -21,7 +21,7 @@ import ( "github.com/kunitsucom/arcgen/internal/logs" ) -//nolint:cyclop +//nolint:cyclop,funlen func Generate(ctx context.Context, src string) error { arcSrcSets, err := parse(ctx, src) if err != nil { @@ -159,7 +159,7 @@ func appendAST(file *ast.File, structName string, tableName string, prefixGlobal file.Decls = append(file.Decls, generateASTColumnMethods(structName, prefixGlobal, prefixColumn, columnNames)...) - return + return //nolint:gosimple } //nolint:funlen