store

package
v0.0.0-...-557e180 Latest Latest
Warning

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

Go to latest
Published: May 22, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Column

type Column[R store.Row] struct {
	// contains filtered or unexported fields
}

func (*Column[R]) All

func (c *Column[R]) All() store.Iterator2[R, any]

func (*Column[R]) AllSlots

func (c *Column[R]) AllSlots() store.Iterator2[R, any]

func (*Column[R]) Clear

func (c *Column[R]) Clear(row R)

func (*Column[R]) Get

func (c *Column[R]) Get(row R) (any, bool)

func (*Column[R]) Has

func (c *Column[R]) Has(row R) bool

func (*Column[R]) Rows

func (c *Column[R]) Rows() store.Rows[R]

func (*Column[R]) Set

func (c *Column[R]) Set(row R, value any)

func (*Column[R]) Slot

func (c *Column[R]) Slot(n int) store.Column[R, any]

type Store

type Store[R store.Row] struct {
	// contains filtered or unexported fields
}

func (*Store[R]) Begin

func (s *Store[R]) Begin() *Store[R]

func (*Store[R]) Column

func (s *Store[R]) Column(typ reflect.Type) store.Column[R, any]

func (*Store[R]) Columns

func (s *Store[R]) Columns() store.Iterator[reflect.Type]

func (*Store[R]) Commit

func (s *Store[R]) Commit()

func (*Store[R]) Flatten

func (s *Store[R]) Flatten()

func (*Store[R]) For

func (s *Store[R]) For(scope store.Rows[R]) store.Store[R]

func (*Store[R]) HasRow

func (s *Store[R]) HasRow(row R) bool

func (*Store[R]) Row

func (s *Store[R]) Row(row R) store.Iterator2[reflect.Type, any]

func (*Store[R]) Rows

func (s *Store[R]) Rows() store.Rows[R]

Jump to

Keyboard shortcuts

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