Documentation ¶
Index ¶
- func StripDict(buff map[string]any) map[string]any
- 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) GetBoolSlice(key string, defval []bool) []bool
- func (d Dict) GetByte(key string, defval byte) byte
- func (d Dict) GetBytes(key string, defval []byte) []byte
- func (d Dict) GetDict(key string, defval Dict) Dict
- func (d Dict) GetDictSlice(key string, defval []Dict) []Dict
- func (d Dict) GetFloat32(key string, defval float32) float32
- func (d Dict) GetFloat32Slice(key string, defval []float32) []float32
- func (d Dict) GetFloat64(key string, defval float64) float64
- func (d Dict) GetFloat64Slice(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) GetInt16Slice(key string, defval []int16) []int16
- func (d Dict) GetInt32(key string, defval int32) int32
- func (d Dict) GetInt32Slice(key string, defval []int32) []int32
- func (d Dict) GetInt64(key string, defval int64) int64
- func (d Dict) GetInt64Slice(key string, defval []int64) []int64
- func (d Dict) GetInt8(key string, defval int8) int8
- func (d Dict) GetInt8Slice(key string, defval []int8) []int8
- func (d Dict) GetIntSlice(key string, defval []int) []int
- func (d Dict) GetNDict(key string, defval NDict) NDict
- func (d Dict) GetNDictSlice(key string, defval []NDict) []NDict
- func (d Dict) GetRune(key string, defval rune) rune
- func (d Dict) GetRuneSlice(key string, defval []rune) []rune
- func (d Dict) GetSlice(key string, defval []any) []any
- func (d Dict) GetString(key string, defval string) string
- func (d Dict) GetStringSlice(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) GetUint16Slice(key string, defval []uint16) []uint16
- func (d Dict) GetUint32(key string, defval uint32) uint32
- func (d Dict) GetUint32Slice(key string, defval []uint32) []uint32
- func (d Dict) GetUint64(key string, defval uint64) uint64
- func (d Dict) GetUint64Slice(key string, defval []uint64) []uint64
- func (d Dict) GetUint8(key string, defval uint8) uint8
- func (d Dict) GetUint8Slice(key string, defval []uint8) []uint8
- func (d Dict) GetUintSlice(key string, defval []uint) []uint
- func (d Dict) IsExist(key string) bool
- func (d Dict) Keys() []string
- func (d Dict) Reset()
- 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) GetBoolSlice(key string, defval []bool) []bool
- func (d NDict) GetByte(key string, defval byte) byte
- func (d NDict) GetBytes(key string, defval []byte) []byte
- func (d NDict) GetDict(key string, defval Dict) Dict
- func (d NDict) GetDictSlice(key string, defval []Dict) []Dict
- func (d NDict) GetFloat32(key string, defval float32) float32
- func (d NDict) GetFloat32Slice(key string, defval []float32) []float32
- func (d NDict) GetFloat64(key string, defval float64) float64
- func (d NDict) GetFloat64Slice(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) GetInt16Slice(key string, defval []int16) []int16
- func (d NDict) GetInt32(key string, defval int32) int32
- func (d NDict) GetInt32Slice(key string, defval []int32) []int32
- func (d NDict) GetInt64(key string, defval int64) int64
- func (d NDict) GetInt64Slice(key string, defval []int64) []int64
- func (d NDict) GetInt8(key string, defval int8) int8
- func (d NDict) GetInt8Slice(key string, defval []int8) []int8
- func (d NDict) GetIntSlice(key string, defval []int) []int
- func (d NDict) GetNDict(key string, defval NDict) NDict
- func (d NDict) GetNDictSlice(key string, defval []NDict) []NDict
- func (d NDict) GetRune(key string, defval rune) rune
- func (d NDict) GetRuneSlice(key string, defval []rune) []rune
- func (d NDict) GetSlice(key string, defval []any) []any
- func (d NDict) GetString(key string, defval string) string
- func (d NDict) GetStringSlice(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) GetUint16Slice(key string, defval []uint16) []uint16
- func (d NDict) GetUint32(key string, defval uint32) uint32
- func (d NDict) GetUint32Slice(key string, defval []uint32) []uint32
- func (d NDict) GetUint64(key string, defval uint64) uint64
- func (d NDict) GetUint64Slice(key string, defval []uint64) []uint64
- func (d NDict) GetUint8(key string, defval uint8) uint8
- func (d NDict) GetUint8Slice(key string, defval []uint8) []uint8
- func (d NDict) GetUintSlice(key string, defval []uint) []uint
- func (d NDict) IsExist(key string) bool
- func (d NDict) Keys() []string
- func (d NDict) KeysN(lvl int) []string
- func (d NDict) Reset()
- 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 (Dict) GetBoolSlice ¶ added in v0.3.3
func (Dict) GetDictSlice ¶ added in v0.3.3
func (Dict) GetFloat32Slice ¶ added in v0.3.3
func (Dict) GetFloat64Slice ¶ added in v0.3.3
func (Dict) GetInt16Slice ¶ added in v0.3.3
func (Dict) GetInt32Slice ¶ added in v0.3.3
func (Dict) GetInt64Slice ¶ added in v0.3.3
func (Dict) GetInt8Slice ¶ added in v0.3.3
func (Dict) GetNDictSlice ¶ added in v0.3.3
func (Dict) GetRuneSlice ¶ added in v0.3.9
func (Dict) GetStringSlice ¶ added in v0.3.3
func (Dict) GetUint16Slice ¶ added in v0.3.3
func (Dict) GetUint32Slice ¶ added in v0.3.3
func (Dict) GetUint64Slice ¶ added in v0.3.3
func (Dict) GetUint8Slice ¶ added in v0.3.3
func (Dict) GetUintSlice ¶ added in v0.3.3
type NDict ¶
Nested Dict type with nested keys support
func CloneNDict ¶ added in v0.3.7
create deep clone of NDict
func (NDict) GetBoolSlice ¶ added in v0.3.3
func (NDict) GetDictSlice ¶ added in v0.3.3
func (NDict) GetFloat32Slice ¶ added in v0.3.3
func (NDict) GetFloat64Slice ¶ added in v0.3.3
func (NDict) GetInt16Slice ¶ added in v0.3.3
func (NDict) GetInt32Slice ¶ added in v0.3.3
func (NDict) GetInt64Slice ¶ added in v0.3.3
func (NDict) GetInt8Slice ¶ added in v0.3.3
func (NDict) GetIntSlice ¶ added in v0.3.3
func (NDict) GetNDictSlice ¶ added in v0.3.3
func (NDict) GetRuneSlice ¶ added in v0.3.9
func (NDict) GetStringSlice ¶ added in v0.3.3
func (NDict) GetUint16Slice ¶ added in v0.3.3
func (NDict) GetUint32Slice ¶ added in v0.3.3
func (NDict) GetUint64Slice ¶ added in v0.3.3
func (NDict) GetUint8Slice ¶ added in v0.3.3
func (NDict) GetUintSlice ¶ added in v0.3.3
Click to show internal directories.
Click to hide internal directories.