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 ¶
func Clone[K comparable, V any](m map[K]V) map[K]V
Clone creates an indepent copy of a map,
func HasElement ¶
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.