Open paprikati opened 2 years ago
Would it be possible to pass args to tell interfacer which package name to use in this scenario?
I think interfaces should be smart enough to read the actual name of the package. Right now it does a dumb thing - it tries to infer the name from the (file-) import path.
We've tried to run interfacer against
github.com/PagerDuty/go-pagerduty.Client
. When one of the function arguments is a package name, it generates:however,
go-pagerduty
isn't a valid package name. Would it be possible to pass args to tell interfacer which package name to use in this scenario?