Documentation ¶
Index ¶
- func ArrParseInt64String(b []int64) []string
- func ArrParseIntString(b []int) []string
- func ArrParseStringInt(b []string) []int
- func ArrParseStringInt64(b []string) []int64
- func CheckType(str string, ct string) bool
- func Date(timestamp int64, formatArg ...string) string
- func GetRandomInt(n int) string
- func GetRandomString(n int, more ...bool) string
- func InArray(need string, needArr []string) bool
- func InArrayInt(need int, needArr []int) bool
- func InArrayInt64(need int64, needArr []int64) bool
- func Md5(str string) string
- func ParseFloat64ToString(f float64, prec int) string
- func ParseInt(b string, defInt int) int
- func ParseInt64String(b string) int64
- func ParseString(b int) string
- func ParseStringFloat64(s string) float64
- func ParseStringInt64(b int64) string
- func RemoveDuplicatesAndEmpty(a []string) (ret []string)
- func Sha1(data string) string
- func Strtotime(strtime string, formatArg ...string) (int64, error)
- func Time() int64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArrParseInt64String ¶
ArrParseInt64String 转换[]int64为[]string
func ArrParseIntString ¶
ArrParseIntString 转换[]int为[]string
func ArrParseStringInt ¶
ArrParseStringInt 转换[]string为[]int
func ArrParseStringInt64 ¶
ArrParseStringInt64 转换[]string为[]int64
func ParseFloat64ToString ¶
ParseFloat64ToString 转换浮点数为string
func RemoveDuplicatesAndEmpty ¶
RemoveDuplicatesAndEmpty 数组去重 去空
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.