Skip to content

Commit f2a5317

Browse files
authored
Merge pull request #118 from uvyuhin/fix/using_wrap
Correction of usage errors.Wrap instead of errors.Wrapf
2 parents b21a375 + 84e49c2 commit f2a5317

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generator/generator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@ func findImportPathForName(name string, imports []*ast.ImportSpec, currentPackag
678678
}
679679
}
680680

681-
return "", errors.Wrapf(errUnknownSelector, name)
681+
return "", errors.Wrap(errUnknownSelector, name)
682682
}
683683

684684
func unquote(s string) string {

0 commit comments

Comments
 (0)