Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FuncList ¶
type FuncList struct {
// contains filtered or unexported fields
}
Slice of functions to be executed after each other
func (*FuncList) AddFunc ¶
func (c *FuncList) AddFunc(f ...func())
Add a function to be called by the Execute method.
func (*FuncList) ToFunction ¶
func (c *FuncList) ToFunction() func()
Return a function that executions all added functions
Functions are executed in reverse order they were added.
Click to show internal directories.
Click to hide internal directories.