hzstr

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Float64Conv

func Float64Conv(v float64) string

func Int32Conv

func Int32Conv(v int32) string

func Int64Conv

func Int64Conv(v int64) string

func IntConv

func IntConv(v int) string

func NumSliceToString

func NumSliceToString[T hznumber.Numeric](valList []T, split string) (str string)

数字数组转string

func StrSliceToString

func StrSliceToString(valList []string, split string) (str string)

字符数组转string 之后替换为 strings.Join

func ToBool

func ToBool(v string) bool

func ToFloat

func ToFloat(v string) float32

func ToFloat64

func ToFloat64(v string) float64

func ToInt

func ToInt(v string) int

func ToInt32

func ToInt32(v string) int32

func ToInt64

func ToInt64(v string) int64

func ToUint

func ToUint(v string) uint

func ToUint32

func ToUint32(v string) uint32

func ToUint64

func ToUint64(v string) uint64

func Uint32Conv

func Uint32Conv(v uint32) string

func Uint64Conv

func Uint64Conv(v uint64) string

func UintConv

func UintConv(v uint) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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