Documentation ¶ Index ¶ func BoolFn(fn func() bool) func(context.Context, ...any) bool func Not(fn func() bool) func() bool func WithParameters[T models.Validator](fn func(context.Context, T) error) func(context.Context, ...any) error type ActionFn func AllOf(fn ...ActionFn) ActionFn Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func BoolFn ¶ func BoolFn(fn func() bool) func(context.Context, ...any) bool func Not ¶ func Not(fn func() bool) func() bool func WithParameters ¶ func WithParameters[T models.Validator](fn func(context.Context, T) error) func(context.Context, ...any) error Types ¶ type ActionFn ¶ type ActionFn func(context.Context) error func AllOf ¶ func AllOf(fn ...ActionFn) ActionFn allOf chains multiple action functions into a single action function, all functions will be called, regardless of their error state. The reported errors will be joined into a single error object. Source Files ¶ View all Source files actions.goconditions.go Click to show internal directories. Click to hide internal directories.