Documentation ¶
Overview ¶
MockGen generates mock implementations of Go interfaces.
MockGen generates mock implementations of Go interfaces.
MockGen generates mock implementations of Go interfaces.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
internal
|
|
tests/add_generate_directive
Package add_generate_directive makes sure output places the go:generate command as a directive in the generated code.
|
Package add_generate_directive makes sure output places the go:generate command as a directive in the generated code. |
tests/aux_imports_embedded_interface
Package bugreport is a generated GoMock package.
|
Package bugreport is a generated GoMock package. |
tests/const_array_length
Package const_length is a generated GoMock package.
|
Package const_length is a generated GoMock package. |
tests/copyright_file
Package empty_interface is a generated GoMock package.
|
Package empty_interface is a generated GoMock package. |
tests/defined_import_local_name
Package defined_import_local_name is a generated GoMock package.
|
Package defined_import_local_name is a generated GoMock package. |
tests/dot_imports
Package dot_imports is a generated GoMock package.
|
Package dot_imports is a generated GoMock package. |
tests/empty_interface
Package empty_interface is a generated GoMock package.
|
Package empty_interface is a generated GoMock package. |
tests/exclude
Package exclude is a generated GoMock package.
|
Package exclude is a generated GoMock package. |
tests/extra_import
Package extra_import makes sure output does not import it.
|
Package extra_import makes sure output does not import it. |
tests/generated_identifier_conflict
Package bugreport is a generated GoMock package.
|
Package bugreport is a generated GoMock package. |
tests/import_embedded_interface
Package bugreport is a generated GoMock package.
|
Package bugreport is a generated GoMock package. |
tests/import_source
Package mock_source is a generated GoMock package.
|
Package mock_source is a generated GoMock package. |
tests/import_source/definition
Package source is a generated GoMock package.
|
Package source is a generated GoMock package. |
tests/internal_pkg/subdir/internal/pkg/reflect_output
Package mock_pkg is a generated GoMock package.
|
Package mock_pkg is a generated GoMock package. |
tests/internal_pkg/subdir/internal/pkg/source_output
Package mock_pkg is a generated GoMock package.
|
Package mock_pkg is a generated GoMock package. |
tests/missing_import/output
Package source is a generated GoMock package.
|
Package source is a generated GoMock package. |
tests/missing_import/source
Package source makes sure output imports its.
|
Package source makes sure output imports its. |
tests/mock_name/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
tests/overlapping_methods
Package overlap is a generated GoMock package.
|
Package overlap is a generated GoMock package. |
tests/parenthesized_parameter_type
Package parenthesized_parameter_type is a generated GoMock package.
|
Package parenthesized_parameter_type is a generated GoMock package. |
tests/sanitization/mockout
Package mockout is a generated GoMock package.
|
Package mockout is a generated GoMock package. |
tests/self_package
Package core is a generated GoMock package.
|
Package core is a generated GoMock package. |
tests/typed_inorder
Package typed_inorder is a generated GoMock package.
|
Package typed_inorder is a generated GoMock package. |
tests/unexported_method
Package bugreport is a generated GoMock package.
|
Package bugreport is a generated GoMock package. |
tests/vendor_dep
Package vendor_dep is a generated GoMock package.
|
Package vendor_dep is a generated GoMock package. |
tests/vendor_dep/source_mock_package
Package mock_vendor_dep is a generated GoMock package.
|
Package mock_vendor_dep is a generated GoMock package. |
tests/vendor_pkg
Package vendor_pkg is a generated GoMock package.
|
Package vendor_pkg is a generated GoMock package. |
tests/generics
Module
|
|
tests/typed
Module
|
|
Package model contains the data model necessary for generating mock implementations.
|
Package model contains the data model necessary for generating mock implementations. |
Click to show internal directories.
Click to hide internal directories.