maps

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2021 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[string]interface{} //
	// contains filtered or unexported fields
}

Map parameter structure

func New

func New() *Map

New ...

func (*Map) Count

func (get *Map) Count() int

Count ...

func (*Map) Delete

func (get *Map) Delete(key string) bool

Delete ...

func (*Map) Get

func (get *Map) Get(key string) interface{}

Get ...

func (*Map) GetOrSet

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

GetOrSet ...

func (*Map) LockFunc

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

LockFunc locks writing by callback function <f>

func (*Map) ReadLockFunc

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

ReadLockFunc locks writing by callback function <f>

func (*Map) Set

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

Set ...

Jump to

Keyboard shortcuts

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