Documentation ¶
Index ¶
- Constants
- Variables
- func EnsurePath(path string) error
- func ErrPanic(err error)
- func Md5(data []byte) string
- func MemSet(p unsafe.Pointer, b byte, length uintptr)
- func RandInt(max int) int
- func RandIntScope(from, to int) int
- func RandNumAlphaString(length int) string
- func RandNumString(length int) string
- func Sha1(data []byte) string
- func Sha256(data []byte) string
- func Unused(v ...interface{})
- func ValidPhoneCN(phone string) bool
Constants ¶
View Source
const (
TIME_FORMAT = "2006-01-02 15:04:05"
)
Variables ¶
View Source
var ( ErrPathIsNotAPath = errors.New("Not a path") ErrPathPerm = errors.New("User has not perm to path") )
View Source
var (
CHAR_POOL = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"
)
Functions ¶
func Unused ¶
func Unused(v ...interface{})
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.