Documentation ¶
Index ¶
- func Clone[K comparable, V any](m map[K]V) map[K]V
- func HasElement(m map[string]interface{}, k ...string) bool
- func ReadEmbeddedMap(m map[string]interface{}, k string) (map[string]interface{}, bool)
- func ReadEmbeddedSlice(m map[string]interface{}, k string) ([]interface{}, bool)
- func ReadEmbeddedString(m map[string]interface{}, k string) (string, bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Clone ¶ added in v0.254.0
func Clone[K comparable, V any](m map[K]V) map[K]V
Clone creates an indepent copy of a map,
func HasElement ¶ added in v0.177.0
HasElement returns true if nested element k exists.
func ReadEmbeddedMap ¶
ReadEmbeddedMap reads element k from the map m as a map[string]interface{}.
func ReadEmbeddedSlice ¶
ReadEmbeddedSlice reads element k from the map m as a []interface{}.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.