cherryString

package
v1.1.17 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2021 License: MIT Imports: 2 Imported by: 21

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CutLastString

func CutLastString(text, beginChar, endChar string) string

CutLastString 截取字符串中最后一段,以@beginChar开始,@endChar结束的字符 @text 文本 @beginChar 开始

func Int32ToString added in v1.1.10

func Int32ToString(value int32) string

func Int64ToString added in v1.1.3

func Int64ToString(value int64) string

func IntToString added in v1.1.4

func IntToString(value int) string

func IsBlank

func IsBlank(value string) bool

func StringToInt added in v1.1.15

func StringToInt(val string, def ...int) int

func StringToInt32 added in v1.1.15

func StringToInt32(val string, def ...int32) int32

func StringToInt64 added in v1.1.15

func StringToInt64(val string, def ...int64) int64

func ToInt added in v1.1.4

func ToInt(value string) (int, bool)

func ToInt32 added in v1.1.16

func ToInt32(value string) (int32, bool)

func ToInt64 added in v1.1.4

func ToInt64(value string) (int64, bool)

func ToStringSlice

func ToStringSlice(val []interface{}) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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