Documentation
¶
Overview ¶
Package store (v0) is a minimal, non-performant implementation store.Store. It is only intended for use in tests, where it is important to isolate store behavior from system behavior.
Index ¶
- type Column
- func (c *Column[R]) All() store.Iterator2[R, any]
- func (c *Column[R]) AllSlots() store.Iterator2[R, any]
- func (c *Column[R]) Clear(row R)
- func (c *Column[R]) Get(row R) (any, bool)
- func (c *Column[R]) Has(row R) bool
- func (c *Column[R]) Rows() store.Rows[R]
- func (c *Column[R]) Set(row R, value any)
- func (c *Column[R]) Slot(n int) store.Column[R, any]
- type Store
- func (s *Store[R]) Begin() *Store[R]
- func (s *Store[R]) Column(typ reflect.Type) store.Column[R, any]
- func (s *Store[R]) Columns() store.Iterator[reflect.Type]
- func (s *Store[R]) Commit()
- func (s *Store[R]) Flatten()
- func (s *Store[R]) For(scope store.Rows[R]) store.Store[R]
- func (s *Store[R]) HasRow(row R) bool
- func (s *Store[R]) Row(row R) store.Iterator2[reflect.Type, any]
- func (s *Store[R]) Rows() store.Rows[R]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.