moq
Interface mocking tool for go generate
...Instead of relying on a large mocking framework, Moq creates straightforward Go code that can be inspected, edited, and used directly in tests. The generated structs allow developers to define function behavior for each mocked method. This makes it easier to test code that depends on interfaces without writing repetitive mock boilerplate by hand. Moq is useful for Go developers who prefer simple, readable, generated mocks that fit naturally into standard testing workflows.