Help us shape the future of Go! Take the 2026 Go Developer Survey

interfaces

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2026 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

Map the map interface (map[string]inteface{})

type MapAny

type MapAny = MapAnyAny

MapAny the map interface (map[inteface{}]inteface{})

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)
}

MapAnyAny the map interface (map[inteface{}]inteface{})

type MapStr

type MapStr = MapStrAny

MapStr the map interface (map[string]inteface{})

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)
}

MapStrAny the map interface (map[string]inteface{})

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)
}

MapStrStr the map interface (map[string]string)

Jump to

Keyboard shortcuts

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