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
When we have some interface with methods that use parameters from another package that was imported with an alias... the result is not going well, just to explain:
This is working:
Code:
import".../pkg/proto"...// MyInterface is a driven port.////go:generate gowrap gen -g -i MyInterface -t ../templates/log.go.tmpl -o ./decorators/logs/url_shortener_gateway_with_logs.gotypeMyInterfaceinterface {
MyMethod(ctx context.Context, body proto.Incomming) (proto.Outcomming, error)
}
This isn't working:
Code:
import alias ".../pkg/proto"...// MyInterface is a driven port.////go:generate gowrap gen -g -i MyInterface -t ../templates/log.go.tmpl -o ./decorators/logs/url_shortener_gateway_with_logs.gotypeMyInterfaceinterface {
MyMethod(ctx context.Context, body alias.Incomming) (alias.Outcomming, error)
}
I am using the latest version of package.
The text was updated successfully, but these errors were encountered:
When we have some interface with methods that use parameters from another package that was imported with an alias... the result is not going well, just to explain:
This is working:
Code:
This isn't working:
Code:
I am using the latest version of package.
The text was updated successfully, but these errors were encountered: