Documentation ¶
Index ¶
- func ConvertTo(t, k string, obj interface{}) (val interface{}, err error)
- func ConvertToArray(obj interface{}) (val []interface{}, err error)
- func ConvertToBoolean(obj interface{}) (val bool, err error)
- func ConvertToDatetime(obj interface{}) (val time.Time, err error)
- func ConvertToNumber(obj interface{}) (val float64, err error)
- func ConvertToObject(obj interface{}) (val map[string]interface{}, err error)
- func ConvertToRecord(obj interface{}, tb string) (val *sql.Thing, err error)
- func ConvertToString(obj interface{}) (val string, err error)
- func MightBe(obj interface{}) (val interface{}, ok bool)
- func MightBeDatetime(obj string) (val interface{}, ok bool)
- func MightBeRecord(obj string) (val interface{}, ok bool)
- func MustBe(t, obj interface{}) (val interface{})
- func MustBeArray(obj interface{}) (val interface{})
- func MustBeObject(obj interface{}) (val interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertToArray ¶
func ConvertToArray(obj interface{}) (val []interface{}, err error)
func ConvertToBoolean ¶
func ConvertToDatetime ¶
func ConvertToNumber ¶
func ConvertToObject ¶
func ConvertToString ¶
func MightBeDatetime ¶
func MightBeRecord ¶
func MustBeArray ¶
func MustBeArray(obj interface{}) (val interface{})
func MustBeObject ¶
func MustBeObject(obj interface{}) (val interface{})
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.