Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Function ¶
Function represented a job function from a mage file
func (Function) TemplateString ¶
TemplateString returns code for the template switch to run the target. It wraps each target call to match the func(context.Context) error that runTarget requires.
Click to show internal directories.
Click to hide internal directories.