mock icon indicating copy to clipboard operation
mock copied to clipboard

Export the mockgen API as a library for use by other projects in generating mock codes.

Open sysulq opened this issue 7 months ago • 0 comments

I have a project here, github.com/hnlq715/struct2interface, which converts structs into interfaces. I'm looking to take it a step further—being able to automatically generate mock structures based on interfaces. Currently, I can only generate them directly using mockgen binary. It would be perfect if it could support a library format.

Thanks in advance~

sysulq avatar Nov 15 '23 02:11 sysulq