Documentation
¶
Index ¶
- func StripNDict(buff map[string]any) map[string]any
- type Dict
- func (d Dict) Del(key string)
- func (d Dict) Get(key string, defval any) any
- func (d Dict) GetBool(key string, defval bool) bool
- func (d Dict) GetFloat32(key string, defval float32) float32
- func (d Dict) GetFloat64(key string, defval float64) float64
- func (d Dict) GetInt(key string, defval int) int
- func (d Dict) GetInt16(key string, defval int16) int16
- func (d Dict) GetInt32(key string, defval int32) int32
- func (d Dict) GetInt64(key string, defval int64) int64
- func (d Dict) GetInt8(key string, defval int8) int8
- func (d Dict) GetString(key string, defval string) string
- func (d Dict) GetUint(key string, defval uint) uint
- func (d Dict) GetUint16(key string, defval uint16) uint16
- func (d Dict) GetUint32(key string, defval uint32) uint32
- func (d Dict) GetUint64(key string, defval uint64) uint64
- func (d Dict) GetUint8(key string, defval uint8) uint8
- func (d Dict) KeyExist(key string) bool
- func (d Dict) Keys() []string
- func (d Dict) Set(key string, newval any)
- func (d Dict) Update(updt map[string]any)
- type NDict
- func (d NDict) Del(key string)
- func (d NDict) Get(key string, defval any) any
- func (d NDict) GetBool(key string, defval bool) bool
- func (d NDict) GetFloat32(key string, defval float32) float32
- func (d NDict) GetFloat64(key string, defval float64) float64
- func (d NDict) GetInt(key string, defval int) int
- func (d NDict) GetInt16(key string, defval int16) int16
- func (d NDict) GetInt32(key string, defval int32) int32
- func (d NDict) GetInt64(key string, defval int64) int64
- func (d NDict) GetInt8(key string, defval int8) int8
- func (d NDict) GetString(key string, defval string) string
- func (d NDict) GetUint(key string, defval uint) uint
- func (d NDict) GetUint16(key string, defval uint16) uint16
- func (d NDict) GetUint32(key string, defval uint32) uint32
- func (d NDict) GetUint64(key string, defval uint64) uint64
- func (d NDict) GetUint8(key string, defval uint8) uint8
- func (d NDict) KeyExist(key string) bool
- func (d NDict) Keys() []string
- func (d NDict) KeysN(lvl int) []string
- func (d NDict) Set(key string, newval any)
- func (d NDict) Update(updt map[string]any)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Dict ¶
Simple Dict type
func CreateDict ¶
create new Dict type from initial map data
Click to show internal directories.
Click to hide internal directories.