Skip to content

Commit

Permalink
Update mockgen/parse.go
Browse files Browse the repository at this point in the history
Co-authored-by: Jacob Oaks <[email protected]>
  • Loading branch information
hoonmin and JacobOaks authored Sep 24, 2023
1 parent d7179e5 commit 32ec09c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mockgen/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ func (p *fileParser) parseFile(importPath string, file *ast.File) (*model.Packag
continue
}
i, err := p.parseInterface(ni.name.String(), importPath, ni)
if err == errIgnore {
if errors.Is(err, errConstraintInterface) {
continue
}
if err != nil {
Expand Down

0 comments on commit 32ec09c

Please sign in to comment.