Documentation ¶ Index ¶ type Item Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Item ¶ type Item[T any] struct { Value T Error error Ctx context.Context } An Item is a utility type to use in pipelines. It can have a Value or an Error, so it provides an easy way to propagate per-value(possibly recoverable) errors. It also carries a context that can be enriched along the pipeline. Source Files ¶ View all Source files item.go Click to show internal directories. Click to hide internal directories.