hexdigest / gowrap

GoWrap is a command line tool for generating decorators for Go interfaces
MIT License
1.09k stars 82 forks source link

Fix: add all types from the package #70

Closed amanbolat closed 1 year ago

amanbolat commented 1 year ago

Removed return in iterateFiles method, as it could lead to situation when not all types from target package are imported. If some types are not imported, printIdent in printer/printer.go will fail to make a comparison and will not add typesPrefix to the type name.

amanbolat commented 1 year ago

Just found out that #68 introduces the same fix. I think we can close one of these PRs. Thanks.

hexdigest commented 1 year ago

Thank you @amanbolat

The fix is in v1.3.2