Documentation ¶
Index ¶
- type Map
- func (m *Map) Delete(key string) bool
- func (m *Map) Length() int
- func (m *Map) Load(key string) (interface{}, bool)
- func (m *Map) LoadAndStore(key string, value interface{}) interface{}
- func (m *Map) LoadOrStore(key string, value interface{}) (interface{}, bool)
- func (m *Map) Range(f func(key string, value interface{}) bool)
- func (m *Map) Store(key string, value interface{})
- func (m *Map) StoreNotExists(key string, value interface{}) bool
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 (*Map) LoadAndStore ¶
func (*Map) LoadOrStore ¶
func (*Map) StoreNotExists ¶
Click to show internal directories.
Click to hide internal directories.