Documentation ¶
Index ¶
- func Any2Char(v interface{}) (string, error)
- func Char2Any(v string) interface{}
- func Char2Bytes(v string) []byte
- func Char2Int(v string) (int, error)
- func Char2Int32(v string) (int32, error)
- func Char2Int64(v string) (int64, error)
- func IsEmpty(str string) bool
- func IsEmptySlice(v []string) bool
- func IsNotEmpty(str string) bool
- func IsNotEmptySlice(v []string) bool
- func MustAny2Char(v interface{}) string
- func MustChar2Int(v string) int
- func MustChar2Int32(v string) int32
- func MustChar2Int64(v string) int64
- func Size(str string) int
- func SliceByteEqual(v1, v2 []byte) bool
- func SliceStrEqual(v1, v2 []string) bool
- func SliceStrEqualStrict(v1, v2 []string) bool
- func SubStr(s string, start, end int) string
- func SubStrRevWithCount(s string, count int) string
- func SubStrWithCount(s string, count int) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Char2Bytes ¶ added in v1.4.1
func Char2Int32 ¶ added in v1.4.1
func Char2Int64 ¶ added in v1.4.1
func IsEmptySlice ¶
func IsNotEmpty ¶
func IsNotEmptySlice ¶
func MustAny2Char ¶ added in v1.4.1
func MustAny2Char(v interface{}) string
func MustChar2Int ¶ added in v1.4.1
func MustChar2Int32 ¶ added in v1.4.1
func MustChar2Int64 ¶ added in v1.4.1
func SliceByteEqual ¶
func SliceStrEqualStrict ¶
func SubStrRevWithCount ¶ added in v1.3.8
SubStrRevWithCount 字符串从后截取,截取后n个字符.
func SubStrWithCount ¶ added in v1.3.8
SubStrWithCount 字符串从前截取,前n个字符.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.