part

package
v0.24.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2023 License: MIT Imports: 2 Imported by: 4

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL