builder

package
v2.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder[T any] interface {
	Build() Result[T]
}

type Option

type Option[T any] = option.Option[T]

type Prism

type Prism[S, A any] = prism.Prism[S, A]

func BuilderPrism

func BuilderPrism[T any, B Builder[T]](creator func(T) B) Prism[B, T]

BuilderPrism createa a Prism that converts between a builder and its type

type Result

type Result[T any] = result.Result[T]

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL