Documentation ¶
Index ¶
- func ExistSlice(srcSlice []string, elem string) bool
- func ExistSliceFold(srcSlice []string, elem string) bool
- func Float64IsZero(s float64) bool
- func GetAfter(src string, find string) (string, bool)
- func GetBefore(src string, find string) (string, bool)
- func GetGuid() string
- func RandomCreateBytes(n int, alphabets ...byte) []byte
- func RemoveSliceElement(val interface{}, index int) interface{}
- func StringToUTF16(s string) []uint16
- func Substr(s string, start, length int) string
- func SumMd5(txtInput string) string
- func UnicodeDecode(text string) string
- func UnicodeEncode(str string) (js, html string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Float64IsZero ¶
func RandomCreateBytes ¶
RandomCreateBytes generate random []byte by specify chars.
func RemoveSliceElement ¶
func RemoveSliceElement(val interface{}, index int) interface{}
删除slice中的元素
func UnicodeDecode ¶
func UnicodeEncode ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.