Documentation ¶ Index ¶ func Copy[T comparable, S any](s map[T]S) map[T]S type Map func (t *Map) Copy() (m Map) func (t *Map) Delete(k any) func (t *Map) Len() int func (t *Map) Load(k any) (any, bool) func (t *Map) LoadV(k any) (v any) func (t *Map) Range(f func(key, value any) bool) func (t *Map) Store(k, v any) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Copy ¶ added in v0.24.3 func Copy[T comparable, S any](s map[T]S) map[T]S Types ¶ type Map ¶ type Map struct { // contains filtered or unexported fields } func (*Map) Copy ¶ added in v0.24.2 func (t *Map) Copy() (m Map) func (*Map) Delete ¶ func (t *Map) Delete(k any) func (*Map) Len ¶ func (t *Map) Len() int func (*Map) Load ¶ func (t *Map) Load(k any) (any, bool) func (*Map) LoadV ¶ func (t *Map) LoadV(k any) (v any) func (*Map) Range ¶ func (t *Map) Range(f func(key, value any) bool) func (*Map) Store ¶ func (t *Map) Store(k, v any) Source Files ¶ View all Source files Map.go Click to show internal directories. Click to hide internal directories.