Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoolGetter ¶
func (BoolGetter[R]) GetForRecord ¶ added in v0.2.0
func (getter BoolGetter[R]) GetForRecord(item R) bool
type ComparableGetter ¶ added in v0.2.0
type ComparableGetter[R Record, T LessComparable] Getter[R, T]
func NewIDGetter ¶ added in v0.2.0
NewIDGetter create ID getter.
func (ComparableGetter[R, T]) GetForRecord ¶ added in v0.2.0
func (getter ComparableGetter[R, T]) GetForRecord(item R) T
type FieldsConstructor ¶ added in v0.1.0
type FieldsConstructor uint8
func NewFields ¶ added in v0.1.0
func NewFields() *FieldsConstructor
func (*FieldsConstructor) New ¶ added in v0.1.0
func (fc *FieldsConstructor) New(name string) Field
type Getter ¶ added in v0.2.0
func (Getter[R, T]) GetForRecord ¶ added in v0.2.0
func (getter Getter[R, T]) GetForRecord(item R) T
type GetterInterface ¶ added in v0.2.0
type LessComparable ¶ added in v0.2.0
type Map ¶
type Map[K comparable, V any] interface { HasKey(key K) bool HasValue(check MapValueComparator[V]) (bool, error) }
type MapGetter ¶
type MapGetter[R Record, K comparable, V any] Getter[R, Map[K, V]]
func (MapGetter[R, K, V]) GetForRecord ¶ added in v0.2.0
func (getter MapGetter[R, K, V]) GetForRecord(item R) Map[K, V]
type MapValueComparator ¶ added in v0.0.3
type Set ¶
type Set[T comparable] interface { Has(item T) bool }
type SetGetter ¶
type SetGetter[R Record, T comparable] Getter[R, Set[T]]
func (SetGetter[R, T]) GetForRecord ¶ added in v0.2.0
func (getter SetGetter[R, T]) GetForRecord(item R) Set[T]
Click to show internal directories.
Click to hide internal directories.