steps

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package steps implements a "stepper" which steps through a list of callbacks, running each one sequentially

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunSequentially

func RunSequentially(callbacks ...func() error) error

RunSequentially will sequentially call the specified callback functions, stopping on the first one that returns an error By using the common error handling, code can easier to read and less prone to typos in the error handling

Types

This section is empty.

Jump to

Keyboard shortcuts

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