Documentation
¶
Index ¶
- func GetIgnoreKey(key string) string
- type CustomMap
- func (cm CustomMap) Clone() CustomMap
- func (cm CustomMap) CopyFrom(another CustomMap, labels CustomStringMap)
- func (cm CustomMap) Get(key string) interface{}
- func (cm CustomMap) GetBool(key string) bool
- func (cm CustomMap) GetFloat64(key string) float64
- func (cm CustomMap) GetInt64(key string) int64
- func (cm CustomMap) GetString(key string) string
- func (cm CustomMap) Init() CustomMap
- func (cm CustomMap) NormalizeKeys() CustomMap
- func (cm CustomMap) Remove(keys ...string)
- func (cm CustomMap) Set(key string, value interface{}, labels CustomStringMap)
- func (cm CustomMap) ToMap() map[string]interface{}
- type CustomStringMap
- func (csm CustomStringMap) Clone() CustomStringMap
- func (csm CustomStringMap) CopyFrom(another CustomStringMap)
- func (csm CustomStringMap) Get(key string) string
- func (csm CustomStringMap) GetBool(key string) bool
- func (csm CustomStringMap) GetFloat(key string) float64
- func (csm CustomStringMap) GetIgnoreBool(key string) bool
- func (csm CustomStringMap) GetInt(key string) int
- func (csm CustomStringMap) Init() CustomStringMap
- func (csm CustomStringMap) IsExists(key string) bool
- func (csm CustomStringMap) NormalizeKeys() CustomStringMap
- func (csm CustomStringMap) Remove(keys ...string)
- func (csm CustomStringMap) Set(key, value string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CustomMap ¶
type CustomMap map[string]interface{}
CustomMap data
func (CustomMap) CopyFrom ¶
func (cm CustomMap) CopyFrom(another CustomMap, labels CustomStringMap)
CopyFrom another map
func (CustomMap) GetFloat64 ¶
GetFloat64 a value by key
func (CustomMap) NormalizeKeys ¶
NormalizeKeys of the map
func (CustomMap) Set ¶
func (cm CustomMap) Set(key string, value interface{}, labels CustomStringMap)
Set a key, value pair
type CustomStringMap ¶
CustomStringMap data
func (CustomStringMap) CopyFrom ¶
func (csm CustomStringMap) CopyFrom(another CustomStringMap)
CopyFrom another map
func (CustomStringMap) GetBool ¶
func (csm CustomStringMap) GetBool(key string) bool
GetBool a value by key
func (CustomStringMap) GetFloat ¶
func (csm CustomStringMap) GetFloat(key string) float64
GetFloat a value by key
func (CustomStringMap) GetIgnoreBool ¶
func (csm CustomStringMap) GetIgnoreBool(key string) bool
GetIgnoreBool a value by ignore key
func (CustomStringMap) GetInt ¶
func (csm CustomStringMap) GetInt(key string) int
GetInt a value by key
func (CustomStringMap) Init ¶
func (csm CustomStringMap) Init() CustomStringMap
Init creates if not available
func (CustomStringMap) IsExists ¶
func (csm CustomStringMap) IsExists(key string) bool
IsExists returns the presence of the key status
func (CustomStringMap) NormalizeKeys ¶
func (csm CustomStringMap) NormalizeKeys() CustomStringMap
NormalizeKeys of the map
func (CustomStringMap) Remove ¶
func (csm CustomStringMap) Remove(keys ...string)
Remove a value by key
func (CustomStringMap) Set ¶
func (csm CustomStringMap) Set(key, value string)
Set a key, value pair
Click to show internal directories.
Click to hide internal directories.