stringUtils

package
v0.0.0-...-b92f783 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolToPass

func BoolToPass(b bool) string

func EndWith

func EndWith(str, sub string) bool

func FindInArr

func FindInArr(str string, arr []string) (bool, int)

func FindInArrBool

func FindInArrBool(str string, arr []string) bool

func FormatJsonStr

func FormatJsonStr(str string) (ret string)

func GetNumbWidth

func GetNumbWidth(numb int) int

func InArray

func InArray(need interface{}, arr []string) bool

func Lcfirst

func Lcfirst(str string) string

func MatchString

func MatchString(expect string, actual string, langType string) bool

func StartWith

func StartWith(str, sub string) bool

func StrInArr

func StrInArr(str string, arr []string) bool

func TrimAll

func TrimAll(str string) string

func U2s

func U2s(form string) (to string, err error)

func UcAll

func UcAll(str string) string

func Ucfirst

func Ucfirst(str string) string

func Ulid

func Ulid() string

func Uuid

func Uuid() string

func UuidWithSep

func UuidWithSep() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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