You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
First of all thank you for your work on gowrap, I really like it and use it in various projects.
However, since version 1.4.0 I have some issues in more complex projects that seem to be caused by #92. I'm using the gowrap {{.Import}} template and in my case that generates the following imports if the gowrap version is >=1.4.0:
In my case I'm not using import aliases in the package where the interface and go generate statement sits but the outcome is the same = duplicate imports.
The text was updated successfully, but these errors were encountered:
ghouscht
added a commit
to ghouscht/gowrap-issue-98
that referenced
this issue
Dec 31, 2024
Hi,
First of all thank you for your work on gowrap, I really like it and use it in various projects.
However, since version 1.4.0 I have some issues in more complex projects that seem to be caused by #92. I'm using the gowrap
{{.Import}}
template and in my case that generates the following imports if the gowrap version is >=1.4.0:As you can see the user import is duplicated.
With version 1.3.10 and same arguments to gowrap the imports are generated as follows:
Any idea how this can be fixed?
I'm trying to create a simple reproducer for this but so far I wasn't successful.Here is a simple reproducer: https://github.com/ghouscht/gowrap-issue-98
In my case I'm not using import aliases in the package where the interface and
go generate
statement sits but the outcome is the same = duplicate imports.The text was updated successfully, but these errors were encountered: