Documentation ¶ Index ¶ type Map func NewMap(partitons int) *Map func (m *Map) Count() int func (m *Map) Delete(key string) (any, bool) func (m *Map) Each(fn func(key string, value any) error) error func (m *Map) Get(key string) (any, bool) func (m *Map) GetOrCreate(key string, fn func() (any, error)) (any, error) func (m *Map) Set(key string, value any) any Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Map ¶ type Map struct { // contains filtered or unexported fields } func NewMap ¶ func NewMap(partitons int) *Map func (*Map) Count ¶ func (m *Map) Count() int func (*Map) Delete ¶ func (m *Map) Delete(key string) (any, bool) func (*Map) Each ¶ func (m *Map) Each(fn func(key string, value any) error) error func (*Map) Get ¶ func (m *Map) Get(key string) (any, bool) func (*Map) GetOrCreate ¶ func (m *Map) GetOrCreate(key string, fn func() (any, error)) (any, error) func (*Map) Set ¶ func (m *Map) Set(key string, value any) any Source Files ¶ View all Source files partmap.go Click to show internal directories. Click to hide internal directories.