Documentation ¶
Index ¶
- Variables
- func Base64(input string) string
- func DateTimeToTimestamp(datetime string) int64
- func DateToTimestamp(datetime string) int64
- func Explode(originStr string, symbol string) []string
- func GenDateRandId() string
- func GetLocalIp() string
- func Implode(originArr []string, symbol string) string
- func IpInt2String(ipInt int) string
- func IpString2Int(ipstring string) int64
- func IsEmail(email string) bool
- func Md5(str string) string
- func NowDatetime() string
- func NowTimestamp() int64
- func RandInt(min int, max int) int
- func RandNumString(n int) string
- func RandString(n int) string
- func Sha256(s string) string
- func TimestampToDate(timestamp int64) string
Constants ¶
This section is empty.
Variables ¶
View Source
var Rander = rand.New(src)
Functions ¶
func RandNumString ¶
func RandString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.