cherryString

package
v1.3.12 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: MIT Imports: 3 Imported by: 27

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 IsBlank

func IsBlank(value string) bool

func IsNotBlank added in v1.1.29

func IsNotBlank(value string) bool

func SplitIndex added in v1.3.0

func SplitIndex(s, sep string, index int) (string, bool)

func ToInt added in v1.1.4

func ToInt(value string, def ...int) (int, bool)

func ToInt32 added in v1.1.16

func ToInt32(value string, def ...int32) (int32, bool)

func ToInt32D added in v1.3.10

func ToInt32D(value string, def ...int32) int32

func ToInt64 added in v1.1.4

func ToInt64(value string, def ...int64) (int64, bool)

func ToInt64D added in v1.3.10

func ToInt64D(value string, def ...int64) int64

func ToIntD added in v1.3.10

func ToIntD(value string, def ...int) int

func ToString added in v1.1.29

func ToString(value interface{}) string

func ToStringSlice

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

func ToUint added in v1.3.0

func ToUint(value string, def ...uint) (uint, bool)

func ToUintD added in v1.3.10

func ToUintD(value string, def ...uint) uint

Types

This section is empty.

Jump to

Keyboard shortcuts

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