Documentation ¶
Index ¶
- Variables
- func Execute(path string) v.Future[v.Result[ExecuteOutput, *exec.ExitError]]
- func IsExecExt(ext string) bool
- func Lookup(rootPath string) v.Result[LookupResult, error]
- func MakeExecutable(ext ...string)
- func RegisterExecutor(ext string, f ScriptExecutor) bool
- func RemoveExecutor(ext string) bool
- func SetExtnameExecutable(ext string, executable bool)
- type ExecuteOutput
- type FunctionalScriptExecutor
- type LookupResult
- type ScriptExecutor
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotFoundExecutor = errors.New("error: not found executor")
)
Functions ¶
func MakeExecutable ¶
func MakeExecutable(ext ...string)
func RegisterExecutor ¶
func RegisterExecutor(ext string, f ScriptExecutor) bool
func RemoveExecutor ¶
func SetExtnameExecutable ¶
Types ¶
type ExecuteOutput ¶
type LookupResult ¶
type LookupResult []string
Click to show internal directories.
Click to hide internal directories.