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 NewInt16Pointer(i int16) *int16
- func NewInt32Pointer(i int32) *int32
- func NewInt64Pointer(i int64) *int64
- func NewInt8Pointer(i int8) *int8
- func NewIntPointer(i int) *int
- func NewUint16Pointer(i uint16) *uint16
- func NewUint32Pointer(i uint32) *uint32
- func NewUint64Pointer(i uint64) *uint64
- func NewUint8Pointer(i uint8) *uint8
- 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 NewInt16Pointer ¶
func NewInt32Pointer ¶
func NewInt64Pointer ¶
func NewInt8Pointer ¶
func NewIntPointer ¶
func NewUint16Pointer ¶
func NewUint32Pointer ¶
func NewUint64Pointer ¶
func NewUint8Pointer ¶
func StringToIntWithDefault ¶
StringToIntWithDefault 类型转换: string => int
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.