From b2050ebf8f9288cb7ed3e30109a9fdd39b376f23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=93=D1=83=D1=81=D0=B5=D0=B2=20=D0=98=D0=BB=D1=8C=D1=8F?= Date: Thu, 20 Jan 2022 17:57:03 +0300 Subject: [PATCH] Deleted empty row afte method signature (#708) --- parser.go | 1 - 1 file changed, 1 deletion(-) diff --git a/parser.go b/parser.go index 4b95d08a1..387151aba 100644 --- a/parser.go +++ b/parser.go @@ -985,7 +985,6 @@ func fullTypeName(pkgName, typeName string) string { // fillDefinitionDescription additionally fills fields in definition (spec.Schema) // TODO: If .go file contains many types, it may work for a long time func fillDefinitionDescription(definition *spec.Schema, file *ast.File, typeSpecDef *TypeSpecDef) { - for _, astDeclaration := range file.Decls { generalDeclaration, ok := astDeclaration.(*ast.GenDecl) if !ok || generalDeclaration.Tok != token.TYPE {