mockgen

mocking framework for the Go programming language - mockgen

Install

All systems
curl cmd.cat/mockgen.sh
Debian Debian
apt-get install mockgen
Ubuntu
apt-get install mockgen
image/svg+xml Kali Linux
apt-get install mockgen
Fedora
dnf install mockgen
Windows (WSL2)
sudo apt-get update sudo apt-get install mockgen
Raspbian
apt-get install mockgen

mockgen

mocking framework for the Go programming language - mockgen

GoMock is a mocking framework for the Go programming language. It integrates well with Go's built-in testing package, but can be used in other contexts too. This package provides the "mockgen" utility.

golang-googlecode-gomock-0

Mocking