pkg

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasChinese

func HasChinese(s string) bool

func InitialLetter

func InitialLetter(word string) string

func RunCommand

func RunCommand(name string, args ...string) error

func StringToFloat32

func StringToFloat32(s string) float32

StringToFloat32 将字符串转换为 float32 类型,错误时返回 0

func StringToFloat64

func StringToFloat64(s string) float64

StringToFloat64 将字符串转换为 float64 类型,错误时返回 0

func StringToInt

func StringToInt(s string) int

StringToInt 将字符串转换为 int 类型,错误时返回 0

func StringToUint

func StringToUint(s string) uint

StringToUint 将字符串转换为 uint 类型,错误时返回 0

Types

This section is empty.

Jump to

Keyboard shortcuts

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