Documentation
¶
Index ¶
- func B64Encode(s string) string
- func Int2Str(i int) string
- func IntSlice2StrSlice(intSlice []int) []string
- func JoinIntSlice2String(intSlice []int, sep string) string
- func JoinStrings(multiString ...string) string
- func JsonDecode(data []byte, obj interface{})
- func JsonEncode(obj interface{}) []byte
- func Str2Int(s string) int
- func Str2StrSlice(str, sep string) []string
- func StrConcat(str ...string) string
- func StrFilterSliceEmpty(strSlice []string) []string
- func StrRandom(l int) string
- func StrSlice2IntSlice(strSlice []string) []int
- func StrSplit2IntSlice(str, sep string) []int
- func StrUTF8Len(str string) int
- func StrUTF8Slice(str string, start, length int) string
- func TrimHtml(src string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IntSlice2StrSlice ¶
func JoinIntSlice2String ¶
func JoinStrings ¶
func JsonDecode ¶
func JsonDecode(data []byte, obj interface{})
func JsonEncode ¶
func JsonEncode(obj interface{}) []byte
func Str2StrSlice ¶
func StrFilterSliceEmpty ¶
func StrSlice2IntSlice ¶
func StrSplit2IntSlice ¶
func StrUTF8Len ¶
func StrUTF8Slice ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.