From a1ee6aeee8c400fb3adef2ebf20d3cde1718b718 Mon Sep 17 00:00:00 2001 From: lwfreitas Date: Tue, 7 Mar 2023 03:18:17 +0000 Subject: [PATCH] Fix types getter --- generator/generator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/generator.go b/generator/generator.go index 428a7dc..afc0b6e 100644 --- a/generator/generator.go +++ b/generator/generator.go @@ -361,7 +361,7 @@ func iterateFiles(p *ast.Package, name string) (selectedType *ast.TypeSpec, impo if ts.Name.Name == name { selectedType = ts imports = f.Imports - return + continue } } }