_stringUtils

package
v0.0.0-...-add256a Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 13 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base64Decode

func Base64Decode(str string) string

func FindInArr

func FindInArr(val string, arr []string) bool

func HashPassword

func HashPassword(pwd string) string

func IntToStr

func IntToStr(i int) (ret string)

func InterfToStr

func InterfToStr(i interface{}) (ret string)

func JsonWithoutHtmlEscaped

func JsonWithoutHtmlEscaped(obj interface{}) (ret string)

func MatchExpr

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

func ParseInt

func ParseInt(str string) (ret int)

func ParseUint

func ParseUint(str string) (ret uint)

func RandStr

func RandStr(n int) string

func SnakeCase

func SnakeCase(str string) string

func StrInArr

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

func StrToInt

func StrToInt(s string) (ret int)

func TrimAll

func TrimAll(str string) string

func UcFirst

func UcFirst(str string) string

func Ulid

func Ulid() string

func UnescapeUnicode

func UnescapeUnicode(raw []byte) ([]byte, error)

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