cherryString

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2023 License: MIT Imports: 3 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 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 ToInt64 added in v1.1.4

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

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)

Types

This section is empty.

Jump to

Keyboard shortcuts

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