Versions in this module Expand all Collapse all v0 v0.16.0 Apr 28, 2023 Changes in this version + type Store struct + func New(data map[string]T) *Store[T] + func (s *Store[T]) Get(key string) T + func (s *Store[T]) GetAll() map[string]T + func (s *Store[T]) Has(key string) bool + func (s *Store[T]) Length() int + func (s *Store[T]) Remove(key string) + func (s *Store[T]) RemoveAll() + func (s *Store[T]) Reset(newData map[string]T) + func (s *Store[T]) Set(key string, value T) + func (s *Store[T]) SetIfLessThanLimit(key string, value T, maxAllowedElements int) bool