Versions in this module Expand all Collapse all v2 v2.0.0 May 8, 2023 Changes in this version + var ErrDuplicateKey = errors.New("duplicate key") + var ErrItemNotFound = errors.New("item not found") + var ErrKeyNotFound = errors.New("key not found") + var ErrMalformedKey = errors.New("malformed key") + var ErrMultipleItemsFound = errors.New("multiple items found") + var ErrNoIndex = errors.New("no index given") + var ErrNoIndices = errors.New("no indices given") + var ErrNoItem = errors.New("no item given") + var ErrNoKey = errors.New("no key given") + var ErrNoQuery = errors.New("no query given") + var ErrNoValue = errors.New("no value given") + var ErrNotReady = errors.New("not ready") + type Derivator func(item any) (any, error) + type Index interface + Clear func() + Delete func(id int) + Get func(key any) ([]int, error) + Set func(key any, id int) error Other modules containing this package codeberg.org/ess/acid