mock: github.com/golang/mock/mockgen Files | Directories

Command mockgen

MockGen generates mock implementations of Go interfaces.

Package Files

mockgen.go parse.go reflect.go version.1.12.go

Directories

PathSynopsis
internal/tests/aux_imports_embedded_interfacePackage bugreport is a generated GoMock package.
internal/tests/aux_imports_embedded_interface/faux
internal/tests/copyright_filePackage empty_interface is a generated GoMock package.
internal/tests/custom_package_name/client/v1
internal/tests/custom_package_name/greeter
internal/tests/custom_package_name/validator
internal/tests/dot_importsgo:generate mockgen -package dot_imports -destination mock.go -source input.go
internal/tests/empty_interfacego:generate mockgen -package empty_interface -destination mock.go -source input.go
internal/tests/generated_identifier_conflictPackage bugreport is a generated GoMock package.
internal/tests/import_sourcePackage mock_source is a generated GoMock package.
internal/tests/import_source/definitiongo:generate mockgen -destination ../source_mock.go -source=source.go go:generate mockgen -package source -destination source_mock.go -source=source.go
internal/tests/internal_pkggo:generate mockgen -destination subdir/internal/pkg/reflect_output/mock.go github.com/golang/mock/mockgen/internal/tests/internal_pkg/subdir/internal/pkg Intf go:generate mockgen -source subdir/internal/pkg/input.go -destination subdir/internal/pkg/source_output/mock.go
internal/tests/mock_in_test_package
internal/tests/self_packagePackage core is a generated GoMock package.
internal/tests/test_package
internal/tests/unexported_methodPackage bugreport is a generated GoMock package.
internal/tests/vendor_depPackage vendor_dep is a generated GoMock package.
internal/tests/vendor_dep/source_mock_packagePackage mock_vendor_dep is a generated GoMock package.
internal/tests/vendor_pkgPackage vendor_pkg is a generated GoMock package.
modelPackage model contains the data model necessary for generating mock implementations.

Package main imports 27 packages (graph) and is imported by 1 packages. Updated 2020-02-06. Refresh now. Tools for package owners.