Documentation ¶
Index ¶
- func Wrap1RE[T1, R1, B1 any](f func(*T1) (R1, error), d1 *Derived[T1, B1]) func(*B1) (R1, error)
- func Wrap2[D1, D2, B1, B2 any](f func(*D1, *D2), d1 *Derived[D1, B1], d2 *Derived[D2, B2]) func(*B1, *B2)
- func Wrap21[D1, T2, B1 any](f func(*D1, T2), d1 *Derived[D1, B1]) func(*B1, T2)
- func Wrap21A[D1, T2, B1 any](f func(*D1, *T2) any, d1 *Derived[D1, B1]) func(*B1, *T2) any
- func Wrap21B[D1, T2, B1 any](f func(*D1, T2) bool, d1 *Derived[D1, B1]) func(*B1, T2) bool
- func Wrap2E[D1, D2, B1, B2 any](f func(*D1, *D2) error, d1 *Derived[D1, B1], d2 *Derived[D2, B2]) func(*B1, *B2) error
- type Any
- type Base
- func (t *Base[B]) AnyFrom(base *B) any
- func (t *Base[B]) AnyFull(base *B) any
- func (t *Base[B]) Base() *Base[B]
- func (t *Base[B]) FacetByPtrType(typ reflect.Type) Any[B]
- func (t *Base[B]) New() *B
- func (t *Base[B]) PtrType() reflect.Type
- func (t *Base[B]) String() string
- func (t *Base[B]) Type() reflect.Type
- func (t *Base[B]) WithNew(f func() *B) *Base[B]
- type Derived
- func (t *Derived[T, B]) AnyFrom(base *B) any
- func (t *Derived[T, B]) Base() *Base[B]
- func (t *Derived[T, B]) From(base *B) *T
- func (t *Derived[T, B]) PtrType() reflect.Type
- func (t *Derived[T, B]) String() string
- func (t *Derived[T, B]) ToBase(drvd *T) *B
- func (t *Derived[T, B]) Type() reflect.Type
- func (t *Derived[T, B]) WithNew(f func() *T) *Derived[T, B]
- func (t *Derived[T, B]) Wrap(f func(*T)) func(*B)
- func (t *Derived[T, B]) WrapAE(f func(*T) (any, error)) func(*B) (any, error)
- type Expandable
- type Impl
- type Schema
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Expandable ¶
type Expandable interface {
ExpandableImpl() *Impl
}
type Impl ¶
type Impl struct {
// contains filtered or unexported fields
}
func (*Impl) ExpandableImpl ¶
Click to show internal directories.
Click to hide internal directories.