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
Describe the bug
Generating the converter in the same folder as the interface extends results in an invalid package name "commandlinearguments" when used in pair with local converter functions extends functionality.
Describe the bug
Generating the converter in the same folder as the interface extends results in an invalid package name "commandlinearguments" when used in pair with local converter functions extends functionality.
To Reproduce
Run go generate on this example:
Which produces
converter.gen.go
with invalid imports:Expected behavior
It should detect that the conversion methods are in the same package and thus does not import anyhting when accessing the extended methods.
I have also tried this with different combinations of cmd line arguments but nothing worked.
The text was updated successfully, but these errors were encountered: