Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArgumentParser ¶
type ArgumentParser interface {
ParseArguments(...string) ParsedArguments
}
func NewArgumentParser ¶
func NewArgumentParser( failHandler FailHandler, currentWorkingDir CurrentWorkingDir, symlinkEvaler SymlinkEvaler, fileStatReader FileStatReader, ui terminal.UI, interfaceLocator locator.InterfaceLocator, ) ArgumentParser
type CurrentWorkingDir ¶
type CurrentWorkingDir func() string
type FailHandler ¶
type FailHandler func(string, ...interface{})
type ParsedArguments ¶
type ParsedArguments struct { SourcePackageDir string // abs path to the dir containing the interface to fake OutputPath string // path to write the fake file to InterfaceName string // the interface to counterfeit FakeImplName string // the name of the struct implementing the given interface PrintToStdOut bool }
type SymlinkEvaler ¶
Click to show internal directories.
Click to hide internal directories.