Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bool ¶
func Bool(v interface{}) bool
Bool converts empty string, "0" and "false" to false, every other string to true. And if the v is acutally a bool, returns what it is.
func Int32 ¶
func Int32(v interface{}) int32
Int32 converts strings, float32, float64 and int64 to int32 There could be data loss if you would like to convert from float32, float64 and int64
func Int64 ¶
func Int64(v interface{}) int64
Int64 converts strings, float32, float64 and int32 to int64 There could be data loss if you would like to convert from float32 or float64
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.