Open paprikati opened 2 years ago
I would prefer this too :)
Overall this is good idea, I am not sure go/types gives you the name of the arguments in a typed func def. This needs to be researched.
Overall this is good idea, I am not sure go/types gives you the name of the arguments in a typed func def. This needs to be researched.
Mockgen does this for generated mocks arg names, so maybe it's a good reference for how to achieve it?
Is it possible to include parameter names when generating an interface using
interfacer
?Currently, all the function parameter names are stripped so
becomes
which is much harder to work with.