Binary package “mockgen” in ubuntu focal

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.