Documentation ¶ Index ¶ func Inject[T target.Portal](deps Deps[T]) target.Dispatch type Deps type Runner func NewRunner[T target.Portal](wait *sync.WaitGroup, find target.Find[T], run target.Run[T], ...) *Runner[T] func (r *Runner[T]) Run(ctx context.Context, src string, args ...string) (err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Inject ¶ func Inject[T target.Portal](deps Deps[T]) target.Dispatch Types ¶ type Deps ¶ type Deps[T target.Portal] interface { WaitGroup() *sync.WaitGroup TargetFind() target.Find[T] TargetRun() target.Run[T] Processes() *sig.Map[string, T] } type Runner ¶ type Runner[T target.Portal] struct { // contains filtered or unexported fields } func NewRunner ¶ func NewRunner[T target.Portal]( wait *sync.WaitGroup, find target.Find[T], run target.Run[T], processes *sig.Map[string, T], ) *Runner[T] func (*Runner[T]) Run ¶ func (r *Runner[T]) Run(ctx context.Context, src string, args ...string) (err error) Source Files ¶ View all Source files run.go Click to show internal directories. Click to hide internal directories.