Documentation ¶
Index ¶
- func Capitalize(s string) string
- func EncodeToMap(obj interface{}) (map[string]interface{}, error)
- func IsEmpty(v interface{}) bool
- func LowerTitle(input string) string
- func Singular(value interface{}) interface{}
- func ToBool(value interface{}) bool
- func ToFullReference(path, typeName 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 ToReference(typeName string) string
- func ToString(value interface{}) string
- func ToStringSlice(data interface{}) []string
- func ToTimestamp(value interface{}) (int64, error)
- func ToValuesSlice(value string) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Capitalize ¶
func EncodeToMap ¶
func LowerTitle ¶
func ToFullReference ¶
func ToMapInterface ¶
func ToMapInterface(obj interface{}) map[string]interface{}
func ToMapSlice ¶
func ToMapSlice(obj interface{}) []map[string]interface{}
func ToReference ¶
func ToStringSlice ¶
func ToStringSlice(data interface{}) []string
func ToTimestamp ¶
func ToValuesSlice ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.