task

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hook

type Hook struct {
	Statements []parser.Statement
}

func CreateHook

func CreateHook(statements []parser.Statement) Hook

type Task

type Task struct {
	Name        string
	Statements  []parser.Statement
	BeforeHooks []Hook
	AfterHooks  []Hook
}

func CreateTask

func CreateTask(name string, statements []parser.Statement) Task

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL