3 ms·Looks like there's an official tool: https://github.com/golang/mock https://github.com/golang/mockby pstuart 9y agoLooks like there's an official tool: https://github.com/golang/mock https://github.com/golang/mock