Documentation
¶
Index ¶
- func BValOrFalse(i interface{}) bool
- func F64Slice(in []interface{}) ([]float64, error)
- func F64ValOrZero(i interface{}) float64
- func FloatToJsonNumber(i interface{}) json.Number
- func I64ValOrZero(i interface{}) int64
- func IValOrZero(i interface{}) int
- func ItfToStrSlice(in interface{}) ([]string, error)
- func SValOrEmpty(i interface{}) string
- func SiMapOrEmpty(i interface{}) map[string]interface{}
- func ToFloat64Array(i [][]interface{}) ([][]float64, error)
- func ToInt(in interface{}) int
- func ToInterfaceArray(i []interface{}) [][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BValOrFalse ¶
func BValOrFalse(i interface{}) bool
func F64ValOrZero ¶
func F64ValOrZero(i interface{}) float64
func FloatToJsonNumber ¶
func I64ValOrZero ¶
func I64ValOrZero(i interface{}) int64
func IValOrZero ¶
func IValOrZero(i interface{}) int
func ItfToStrSlice ¶
func SValOrEmpty ¶
func SValOrEmpty(i interface{}) string
func SiMapOrEmpty ¶
func SiMapOrEmpty(i interface{}) map[string]interface{}
func ToFloat64Array ¶
func ToInt ¶
func ToInt(in interface{}) int
ToInt converts various types to integer. If fails, returns 0
func ToInterfaceArray ¶
func ToInterfaceArray(i []interface{}) [][]interface{}
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.