interfaces

package
v0.0.0-...-59dd6a2 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: Apache-2.0 Imports: 0 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 = MapStrAny

type MapAny

type MapAny = MapAnyAny

type MapAnyAny

type MapAnyAny interface {
	Set(key, value interface{})
	Get(key interface{}) interface{}
	Del(key interface{})
	GetOrSet(key, value interface{}) interface{}
	GetAndDel(key interface{}) interface{}
	Range(func(key, value interface{}) bool)
	IsEmpty() bool
	Merge(maps ...MapStrStr)
}

type MapStr

type MapStr = MapStrAny

type MapStrAny

type MapStrAny interface {
	Set(key string, value interface{})
	Get(key string) interface{}
	Del(key string)
	GetOrSet(key string, value interface{}) interface{}
	GetAndDel(key string) interface{}
	Range(func(key string, value interface{}) bool)
	Has(key string) bool
	Len() int
	Keys() []string
	Values() []interface{}
	IsEmpty() bool
	Merge(maps ...MapStr)
}

type MapStrStr

type MapStrStr interface {
	Set(key string, value string)
	Get(key string) string
	Del(key string)
	GetOrSet(key string, value string) string
	GetAndDel(key string) string
	Range(func(key string, value string) bool)
	IsEmpty() bool
	Merge(maps ...MapStrStr)
}

Jump to

Keyboard shortcuts

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