mock: github.com/golang/mock

Directories

PathSynopsis
gomockPackage gomock is a mock framework for Go.
gomock/internal/mock_gomockPackage mock_gomock is a generated GoMock package.
mockgenMockGen generates mock implementations of Go interfaces.
mockgen/modelPackage model contains the data model necessary for generating mock implementations.
sampleAn example package with an interface.
sample/concurrentPackage concurrent demonstrates how to use gomock with goroutines.
sample/concurrent/mockPackage mock_concurrent is a generated GoMock package.
sample/imp1
sample/imp2
sample/imp3
sample/imp4
sample/mock_userPackage mock_sample is a generated GoMock package.

Updated 2019-09-02. Refresh now. Tools for package owners.