Documentation ¶
Index ¶
- func Capitalize(s string) string
- func EncodeToMap(obj interface{}) (map[string]interface{}, error)
- func IsEmptyValue(v interface{}) bool
- func LowerTitle(input string) string
- func Singular(value interface{}) interface{}
- func ToBool(value interface{}) bool
- func ToFloat(value interface{}) (float64, error)
- func ToInterfaceSlice(obj interface{}) []interface{}
- func ToJSONKey(str string) string
- func ToMapInterface(obj interface{}) map[string]interface{}
- func ToMapSlice(obj interface{}) []map[string]interface{}
- func ToNumber(value interface{}) (int64, error)
- func ToObj(data interface{}, into interface{}) error
- func ToString(value interface{}) string
- func ToStringNoTrim(value interface{}) string
- func ToStringSlice(data interface{}) []string
- func ToTimestamp(value interface{}) (int64, error)
- func ToYAMLKey(str string) string
- func Uncapitalize(s string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Capitalize ¶
func EncodeToMap ¶
func IsEmptyValue ¶
func IsEmptyValue(v interface{}) bool
func LowerTitle ¶
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 ToStringNoTrim ¶
func ToStringNoTrim(value interface{}) string
func ToStringSlice ¶
func ToStringSlice(data interface{}) []string
func ToTimestamp ¶
func Uncapitalize ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.