stringutil

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CamelCaseToUnderscore

func CamelCaseToUnderscore(str string) string

func DecodeBase64

func DecodeBase64(s string) ([]byte, error)

func Diff

func Diff(base, exclude []string) (result []string)

Diff Creates a slice of slice values not included in the other given slice.

func FindString

func FindString(array []string, str string) int

func RandCode added in v0.5.0

func RandCode() string

RandCode 随机验证码

func Reverse

func Reverse(s string) string

func StringIn

func StringIn(str string, array []string) bool

func UnderscoreToCamelCase

func UnderscoreToCamelCase(str string) string

func Unique

func Unique(ss []string) (result []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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