Documentation ¶
Index ¶
- 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 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.