Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ToBool = cast.ToBool ToBoolE = cast.ToBoolE )
Functions ¶
func StringToBool ¶
StringToBool 类型转换: string => bool
PS: 参考了 strconv.ParseBool()、Java hutool中的BooleanUtil.toBoolean().
func ToBoolWithDefault ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.