Documentation ¶
Index ¶
- func FormatInt16ToString(i int16, base int) string
- func FormatInt32ToString(i int32, base int) string
- func FormatInt64ToString(i int64, base int) string
- func FormatInt8ToString(i int8, base int) string
- func FormatIntToString(i int, base int) string
- func FormatUint16ToString(i uint16, base int) string
- func FormatUint32ToString(i uint32, base int) string
- func FormatUint64ToString(i uint64, base int) string
- func FormatUint8ToString(i uint8, base int) string
- func IntToString(i int) string
- func StringToInt(str string) (int, error)
- func StringToIntWithDefault(str string, def int) int
- func ToInt(obj interface{}) int
- func ToInt32(obj interface{}) int32
- func ToInt32E(obj interface{}) (int32, error)
- func ToInt64(obj interface{}) int64
- func ToInt64E(obj interface{}) (int64, error)
- func ToIntE(obj interface{}) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatUint16ToString ¶
FormatUint16ToString 类型转换: uint16 => string
@param base 进制(有效值: [2, 36])
func FormatUint32ToString ¶
FormatUint32ToString 类型转换: uint32 => string
@param base 进制(有效值: [2, 36])
func FormatUint64ToString ¶
FormatUint64ToString 类型转换: uint64 => string
@param base 进制(有效值: [2, 36])
func IntToString ¶
func StringToIntWithDefault ¶
StringToIntWithDefault 类型转换: string => int
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.