Documentation ¶
Index ¶
- func ToBool(src map[string]interface{}, key string) bool
- func ToFloat64(src map[string]interface{}, key string) float64
- func ToMap(src map[string]interface{}, key string) map[string]interface{}
- func ToSlice(src map[string]interface{}, key string) []interface{}
- func ToString(src map[string]interface{}, key string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToBool ¶
ToBool looks for key in src and converts the value to a bool type. Returns false otherwise.
func ToFloat64 ¶
ToFloat64 looks for key in src and converts the value to a string type. Returns empty string otherwise.
func ToMap ¶
ToMap looks for key in src and converts the value to a map type. Returns nil otherwise.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.