modeled

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Col

type Col[M Model] interface {
	ModelNewer[M]
	builder.Col

	ComputedBy(frag.Fragment) Col[M]
}

func CastC

func CastC[M Model](c builder.Col) Col[M]

type ColIter

type ColIter[M Model] interface {
	builder.ColIter
	MCols() iter.Seq[Col[M]]
}

type Key

type Key[M Model] interface {
	ModelNewer[M]
	builder.Key
	ColIter[M]
}

func CastK

func CastK[M Model](k builder.Key) Key[M]

type KeyIter

type KeyIter[M Model] interface {
	MKeys() iter.Seq[Key[M]]
}

type Model

type Model = internal.Model

type ModelNewer

type ModelNewer[M Model] internal.ModelNewer[M]

type Newer

type Newer[M internal.Model] struct{}

func (*Newer[M]) Model

func (m *Newer[M]) Model() *M

type OrderAddition

type OrderAddition[M Model] interface {
	builder.OrderAddition
}

type TCol

type TCol[M Model, T any] interface {
	ModelNewer[M]
	builder.TCol[T]

	ComputedBy(frag.Fragment) Col[M]
	TypedComputedBy(frag.Fragment) TCol[M, T]
}

func CT

func CT[M Model, T any](c builder.Col) TCol[M, T]

type Table

type Table[M Model] interface {
	builder.Table
	ModelNewer[M]

	MK(string) Key[M]

	ColIter[M]
	KeyIter[M]
}

func CastT

func CastT[M Model](t builder.Table) Table[M]

func M

func M[M Model]() Table[M]

Jump to

Keyboard shortcuts

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