package
0.0.0-20231204091538-5bb4afb30440
Repository: https://github.com/qjpcpu/common.v2.git
Documentation: pkg.go.dev

# Functions

DecoratorOf given function.
Do create a FunctionRunner with first function f.
DoCase and stop.
DoIf and stop.
No description provided by the author

# Interfaces

Decorator for function.
Function would be invoked in waterfall one by one if the last output is error, function runner would halt right now.
FunctionRunner execute functions one by one.

# Type aliases

AlwaysFunction would be invoked at last.
ConditionFuntion execute when condition.
ErrorFunction would be invoked when err occurs.