safemap

package
v0.0.0-...-e39a43b Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: MIT Imports: 3 Imported by: 1

Documentation

Index

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 New

func New() *Map

func (*Map) Delete

func (m *Map) Delete(key string)

func (*Map) Empty

func (m *Map) Empty() bool

func (*Map) Length

func (m *Map) Length() int64

func (*Map) Load

func (m *Map) Load(key string) (value interface{}, ok bool)

func (*Map) MustLoad

func (m *Map) MustLoad(key string) interface{}

func (*Map) Range

func (m *Map) Range(f func(key string, value interface{}) bool)

func (*Map) Store

func (m *Map) Store(key string, value interface{})

Jump to

Keyboard shortcuts

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