Skip to content

Commit

Permalink
Deleted empty row afte method signature (swaggo#708)
Browse files Browse the repository at this point in the history
  • Loading branch information
KuboOrk committed Jan 20, 2022
1 parent 26ce0c3 commit b2050eb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion parser.go
Expand Up @@ -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 {
Expand Down

0 comments on commit b2050eb

Please sign in to comment.