MyNixOS website logo
Description

Interface mocking tool for go generate.

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

Metadata

Version

0.5.0

License

Maintainers (1)

Executables (1)

  • bin/moq

Platforms (30)

    Darwin
    FreeBSD
    Linux
    WASI
Show all
  • aarch64-darwin
  • aarch64-freebsd
  • aarch64-linux
  • armv5tel-linux
  • armv6l-linux
  • armv7a-darwin
  • armv7a-linux
  • armv7l-linux
  • i686-darwin
  • i686-freebsd
  • i686-linux
  • loongarch64-linux
  • m68k-linux
  • microblaze-linux
  • microblazeel-linux
  • mips-linux
  • mips64-linux
  • mips64el-linux
  • mipsel-linux
  • powerpc64-linux
  • powerpc64le-linux
  • riscv32-linux
  • riscv64-linux
  • s390-linux
  • s390x-linux
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-linux