Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MockFinder ¶
type MockFinder struct {
// contains filtered or unexported fields
}
MockFinder finds objects that can be mocked.
type Oracle ¶
type Oracle struct {
// contains filtered or unexported fields
}
Oracle parses Go projects, looking for interfaces to mock.
func (*Oracle) GenerateMocks ¶
GenerateMocks generate mocks for the project
func (*Oracle) ScanProject ¶
ScanProject walks the project directory, indexing valid Go source code
func (*Oracle) TypeCheckProject ¶
TypeCheckProject type-checks Go source code.
Click to show internal directories.
Click to hide internal directories.