I've been annoyed by writing boilerplate code for testify mocks, so I made this super lightweight and modest library that can generate mocks for any interface during runtime, without extra build steps.There is a readme file in the repo root with a code snippet that hopefully explains the intended usage.
For those unfamiliar with testify mock:
https://pkg.go.dev/github.com/stretchr/testify/mock