Documentation ¶
Index ¶
- func BoolToString(b bool) string
- func FloatToString(f float64) string
- func Int64ToString(i int64) string
- func IntToString(i int) string
- func StringToBool(s string) (bool, error)
- func StringToFloat(s string) (float64, error)
- func StringToInt(s string) (int, error)
- func StringToInt64(s string) (int64, error)
- func StringToUint64(s string) (uint64, error)
- func Uint64ToString(i uint64) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StringToInt64 ¶
StringToInt64 字符串转整数类型
基于 strconv.ParseInt 实现
默认转为十进制,其它进制请直接使用 strconv.ParseInt
func StringToUint64 ¶
StringToUint64 字符串转无符号整数类型
基于 strconv.ParseUint 实现
默认转为十进制,其它进制请直接使用 strconv.ParseUint
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.