Documentation ¶
Index ¶
- func EncodeToMap(obj interface{}) (map[string]interface{}, error)
- func ToBool(value interface{}) bool
- func ToInterfaceSlice(obj interface{}) []interface{}
- func ToMapInterface(obj interface{}) map[string]interface{}
- func ToMapSlice(obj interface{}) []map[string]interface{}
- func ToObj(data interface{}, into interface{}) error
- func ToString(value interface{}) string
- func ToStringSlice(data interface{}) []string
- func ToTimestamp(value interface{}) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeToMap ¶
func ToInterfaceSlice ¶
func ToInterfaceSlice(obj interface{}) []interface{}
func ToMapInterface ¶
func ToMapInterface(obj interface{}) map[string]interface{}
func ToMapSlice ¶
func ToMapSlice(obj interface{}) []map[string]interface{}
func ToStringSlice ¶
func ToStringSlice(data interface{}) []string
func ToTimestamp ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.