Documentation ¶
Index ¶
- func Append(data map[string]interface{}, append map[string]interface{})
- func Clone[T any](data map[string]T) map[string]T
- func ComputeIfAbsent(data map[string]interface{}, key string, defaultValue interface{}) interface{}
- func GetKeys[T any](data map[string]T) []string
- func GetOrDefault(data map[string]interface{}, key string, defaultValue interface{}) interface{}
- func GetValue(data map[string]interface{}, keys ...interface{}) (interface{}, error)
- func SetValue(data map[string]interface{}, keys ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeIfAbsent ¶ added in v1.0.4
func GetOrDefault ¶
GetOrDefault 获得元素,如果不存在,以默认值返回
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.