Documentation ¶
Index ¶
- func GetInterfaceFromMap(k string, m map[string]interface{}) (interface{}, error)
- func GetMapFromMap(k string, m map[string]interface{}) (map[string]interface{}, error)
- func GetRegexpFromMap(k string, m map[string]interface{}) (*regexp.Regexp, error)
- func GetRequiredInterfaceFromMap(k string, m map[string]interface{}) (interface{}, error)
- func GetRequiredMapFromMap(k string, m map[string]interface{}) (map[string]interface{}, error)
- func GetRequiredRegexpFromMap(k string, m map[string]interface{}) (*regexp.Regexp, error)
- func GetRequiredStringFromMap(k string, m map[string]interface{}) (string, error)
- func GetStringFromMap(k string, m map[string]interface{}) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetInterfaceFromMap ¶
Get a interface as a regexp by a key from a map
func GetMapFromMap ¶
Get a map by a key from a map
func GetRegexpFromMap ¶
Get a string as a regexp by a key from a map
func GetRequiredInterfaceFromMap ¶
Get a interface as a regexp by a key from a map and return an error when the key is undefined
func GetRequiredMapFromMap ¶
Get a map by a key from a map and return an error when the key is undefined
func GetRequiredRegexpFromMap ¶
Get a string as a regexp by a key from a map and return an error when the key is undefined
func GetRequiredStringFromMap ¶
Get a string by a key from a map and return an error when the key is undefined
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.