func/client/mock/runner.go

17 lines
229 B
Go

package mock
type Runner struct {
RunInvoked bool
RootRequested string
}
func NewRunner() *Runner {
return &Runner{}
}
func (r *Runner) Run(root string) error {
r.RunInvoked = true
r.RootRequested = root
return nil
}