Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(name string, factory RunnerFactory)
Types ¶
type Runner ¶
type Runner struct { Order int Long bool Action RunnerAction }
func Create ¶
func Create(opts RunnerOptions) (Runner, error)
type RunnerAction ¶
type RunnerFactory ¶
type RunnerFactory = func(opts RunnerOptions) (Runner, error)
type RunnerOptions ¶
func (RunnerOptions) Error ¶
func (ro RunnerOptions) Error(message string)
func (RunnerOptions) Print ¶
func (ro RunnerOptions) Print(message string)
Click to show internal directories.
Click to hide internal directories.