Documentation
¶
Index ¶
- func ConvertToBool(unk interface{}) (bool, error)
- func ConvertToFloat64(unk interface{}) (float64, error)
- func ConvertToInt(unk interface{}) (int, error)
- func ConvertToInt64(unk interface{}) (int64, error)
- func ConvertToUint32(unk interface{}) (uint32, error)
- func ConvertToUint64(unk interface{}) (uint64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertToBool ¶
func ConvertToFloat64 ¶
ConvertToFloat64 converts an unknown type to float Based on https://stackoverflow.com/a/20767884/2749989
func ConvertToInt ¶
func ConvertToInt64 ¶
func ConvertToUint32 ¶
func ConvertToUint64 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.