cherryString

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2022 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 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

Types

This section is empty.

Jump to

Keyboard shortcuts

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