maps

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Map

type Map struct {
	Map map[interface{}]interface{} //
	// contains filtered or unexported fields
}

Map parameter structure

func NewMap added in v1.3.0

func NewMap() *Map

NewMap

func (*Map) Count

func (m *Map) Count() int

Count ...

func (*Map) Delete

func (m *Map) Delete(key interface{})

Delete ...

func (*Map) Get

func (m *Map) Get(key interface{}) interface{}

Get ...

func (*Map) GetOrSet

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

GetOrSet ...

func (*Map) LockFunc

func (m *Map) LockFunc(f func(Map map[interface{}]interface{})) *Map

LockFunc locks writing by callback function <f>

func (*Map) ReadLockFunc

func (m *Map) ReadLockFunc(f func(Map map[interface{}]interface{})) *Map

ReadLockFunc locks writing by callback function <f>

func (*Map) Set

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

Set ...

Jump to

Keyboard shortcuts

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