dogear

enter for all results · esc to close

moq

github.comtool

Utility that generates a struct from any interface. The struct can be used in test code as a mock of the interface.

from
Go
added
2026-10-10
likes
0

similar

  1. minimock github.com

    Mock generator for Go interfaces.

    tool link ↗
  2. gomock github.com

    CLI tool to generate typed and framework-agnostic interface mocks, with support for generics.

    tool link ↗
  3. moxie lesiw.io

    Generate mock methods on embedded structs.

    site link ↗
  4. mockery github.com

    Tool to generate Go interfaces.

    tool link ↗
  5. gomock github.com

    Mocking framework for the Go programming language.

  6. charlatan github.com

    Tool to generate fake interface implementations for tests.

    tool link ↗

Go › Testing > Mock: “Utility that generates a struct from any interface. The struct can be used in test code as a mock of the interface.”