Documentation ¶ Index ¶ func NewCommandRunner(ctx context.Context, cmdExecutable string, cmdArgs ...string) *exec.Cmd type ExecMode func (e ExecMode) Command() (string, []string) type Generator func (g *Generator) Generate(ctx context.Context, rf runnerFactory) error type Runner Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewCommandRunner ¶ func NewCommandRunner(ctx context.Context, cmdExecutable string, cmdArgs ...string) *exec.Cmd Types ¶ type ExecMode ¶ added in v0.4.0 type ExecMode int const ( ExecModeDirect ExecMode = iota + 1 ExecModeGoRun ExecModeGoTool ) func (ExecMode) Command ¶ added in v0.4.0 func (e ExecMode) Command() (string, []string) type Generator ¶ type Generator struct { ExecMode ExecMode DryRun bool MockSetName string RestArgs []string } func (*Generator) Generate ¶ func (g *Generator) Generate(ctx context.Context, rf runnerFactory) error type Runner ¶ type Runner interface { Run() error } Source Files ¶ View all Source files generator.go runner.go Directories ¶ Show internal Expand all Path Synopsis fixtures external multifile multiset ng/invalid_expr ng/mixed_external ng/no_mock_set ng/not_a_new_function ng/not_a_slice ng/not_an_interface Click to show internal directories. Click to hide internal directories.