Skip to content

Commit

Permalink
Fix types getter
Browse files Browse the repository at this point in the history
  • Loading branch information
lwfreitas committed Mar 7, 2023
1 parent 3bd0e55 commit a1ee6ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generator/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
}
Expand Down

0 comments on commit a1ee6ae

Please sign in to comment.