Documentation ¶
Index ¶
- func Base64Decode(input string) string
- func Base64Encode(input []byte) string
- func BatchSearchToInt64Slice(text string) []int64
- func BatchSearchToStringSlice(text string) []string
- func DistinctI64(v []int64) []int64
- func DistinctStr(v []string) []string
- func Get16BitStrMd5(str string) string
- func InArray(src string, arr []string) bool
- func InArrayInt(d int, arr []int) bool
- func MD5(str string) string
- func NewMkdir(path string) string
- func NumToAsc(nums []int) string
- func RandStringRunes(n int) string
- func RemoveDuplicateElement(ori any) (any, error)
- func RemoveHtmlTag(rawHtml string) (string, error)
- func Round(val float64, precision int) float64
- func SubStr(s string, l int) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Base64Decode ¶
func Base64Encode ¶
func BatchSearchToInt64Slice ¶
BatchSearchToInt64Slice 批量搜索对字符串的分割
func BatchSearchToStringSlice ¶
BatchSearchToStringSlice 批量搜索对字符串的分割
func DistinctI64 ¶
DistinctI64 - 引入泛型前,为了类型安全暂时包一下 RemoveDuplicateElement
func DistinctStr ¶
DistinctStr - 引入泛型前,为了类型安全暂时包一下 RemoveDuplicateElement
func Get16BitStrMd5 ¶
func InArrayInt ¶
func RandStringRunes ¶
func RemoveDuplicateElement ¶
RemoveDuplicateElement slice去重
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.