Documentation ¶ Index ¶ type Store func NewCaseInsensitiveStore[V any]() *Store[string, V] func NewSimpleStore[K cmp.Ordered, V any]() *Store[K, V] func NewStore[K cmp.Ordered, V any](keyNormalizer func(key K) K) *Store[K, V] func (store *Store[K, V]) Add(key K, item V) func (store *Store[K, V]) Get(key K) V func (store *Store[K, V]) GetKeys() []K func (store *Store[K, V]) Has(key K) bool Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Store ¶ type Store[K cmp.Ordered, V any] struct { // contains filtered or unexported fields } func NewCaseInsensitiveStore ¶ added in v0.7.2 func NewCaseInsensitiveStore[V any]() *Store[string, V] func NewSimpleStore ¶ func NewSimpleStore[K cmp.Ordered, V any]() *Store[K, V] func NewStore ¶ func NewStore[K cmp.Ordered, V any](keyNormalizer func(key K) K) *Store[K, V] func (*Store[K, V]) Add ¶ func (store *Store[K, V]) Add(key K, item V) func (*Store[K, V]) Get ¶ func (store *Store[K, V]) Get(key K) V func (*Store[K, V]) GetKeys ¶ added in v0.7.2 func (store *Store[K, V]) GetKeys() []K func (*Store[K, V]) Has ¶ func (store *Store[K, V]) Has(key K) bool Source Files ¶ View all Source files store.go Click to show internal directories. Click to hide internal directories.