execution

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(executions ...Execution) error

Execute will execute the given instances of Execution.

Types

type Execution

type Execution func() error

Execution is a simple interface for a simple execution. It is used to wrap executions that can throw an error. It is most likely used to simplify the error handling and make the methods better readable. To achieve that please use Execute(..).

func Join

func Join(executions ...Execution) Execution

Join will combine the given instances of Execution to one.

Jump to

Keyboard shortcuts

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