Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pipeline ¶
type Pipeline[T any] struct { // contains filtered or unexported fields }
type PipelineTry ¶
type PipelineTry[T any] struct { // contains filtered or unexported fields }
func NewTry ¶
func NewTry[T any]() *PipelineTry[T]
func (*PipelineTry[T]) Append ¶ added in v1.0.13
func (t *PipelineTry[T]) Append(fn StepWithErrFn[T]) *PipelineTry[T]
func (*PipelineTry[T]) Prepend ¶ added in v1.0.13
func (t *PipelineTry[T]) Prepend(fn StepWithErrFn[T]) *PipelineTry[T]
func (*PipelineTry[T]) Run ¶
func (t *PipelineTry[T]) Run(in T) trier.Try[T]
type PipelineWithErr ¶ added in v1.0.13
type PipelineWithErr[T any] struct { // contains filtered or unexported fields }
func NewWithError ¶ added in v1.0.13
func NewWithError[T any]() *PipelineWithErr[T]
func (*PipelineWithErr[T]) Append ¶ added in v1.0.13
func (t *PipelineWithErr[T]) Append(fn StepWithErrFn[T]) *PipelineWithErr[T]
func (*PipelineWithErr[T]) Prepend ¶ added in v1.0.13
func (t *PipelineWithErr[T]) Prepend(fn StepWithErrFn[T]) *PipelineWithErr[T]
func (*PipelineWithErr[T]) Run ¶ added in v1.0.13
func (t *PipelineWithErr[T]) Run(in T) (T, error)
type StepWithErrFn ¶ added in v1.0.13
func SimpleStep ¶ added in v1.0.13
func SimpleStep[T any](fn func(T) T) StepWithErrFn[T]
Click to show internal directories.
Click to hide internal directories.