Closed kishaningithub closed 5 years ago
@kishaningithub While this is interesting, I'm inclined to close it for now. I don't know if this induces much/any pain in the normal use case.
However, if I'm misunderstanding why this is causing pain, please feel free to reopen the issue.
@poy Its not causing pain as it gets the job done. Just that it would be nice if it can do things faster. I would like to contribute to this as well if you could point me towards the portions of code responsible for this as i am pretty much new to the code base.
Sounds great! I would start with https://github.com/golang/mock/blob/master/mockgen/reflect.go It seems the most relevant for what you are referring to.
Mock generation via reflect mode always takes more that 1 second on my mac
Go Environment