xconv

package module
v0.0.0-...-4bf9bd6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2022 License: Apache-2.0 Imports: 4 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolInt

func BoolInt(b bool) int

func BoolInt32

func BoolInt32(b bool) int32

func BoolInt64

func BoolInt64(b bool) int64

func BoolUint

func BoolUint(b bool) uint

func BoolUint16

func BoolUint16(b bool) uint16

func BoolUint32

func BoolUint32(b bool) uint32

func BoolUint64

func BoolUint64(b bool) uint64

func BoolUint8

func BoolUint8(b bool) uint8

func Float32String

func Float32String(f float32) string

func Float64String

func Float64String(f float64) string

func Int16Int8

func Int16Int8(i int16) (int8, error)

func Int32Int64

func Int32Int64(i int32) int64

func Int32Int8

func Int32Int8(i int32) (int8, error)

func Int32String

func Int32String(i int32) string

int32 类型转换为字符串(10进制)

func Int64Int32

func Int64Int32(i int64) (int32, error)

func Int64Int8

func Int64Int8(i int64) (int8, error)

func Int64PointerInt64

func Int64PointerInt64(int642Pointer *int64) int64

func Int64String

func Int64String(i int64) string

int64 类型转换为字符串(10进制)

func Int64StringWithBase

func Int64StringWithBase(i int64, base int) string

int64 类型转换为字符串(自定义进制)2~36

func Int8Int16

func Int8Int16(i int8) int16

func Int8Int32

func Int8Int32(i int8) int32

func Int8Int64

func Int8Int64(i int8) int64

func IntBool

func IntBool(i int) bool

func IntString

func IntString(i int) string

int 类型转换为字符串(10进制)

func ReflectToString

func ReflectToString(rValue reflect.Value) (value string, err error)

func StringBool

func StringBool(s string) (bool, error)

func StringFloat32

func StringFloat32(s string) (float32, error)

func StringFloat64

func StringFloat64(s string) (float64, error)

func StringInt

func StringInt(s string) (i int, err error)

func StringInt64

func StringInt64(s string) (int64, error)

func StringPointerString

func StringPointerString(stringPointer *string) string

func StringToReflect

func StringToReflect(s string, rValue reflect.Value) error

func Uint32Uint64

func Uint32Uint64(i uint32) uint64

func Uint64Uint32

func Uint64Uint32(i uint64) (uint32, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL