Documentation ¶
Index ¶
- Constants
- func Fail(args ...interface{}) (int, interface{})
- func FileExists(name string) bool
- func GetFilePath(file string) (string, error)
- func Md5(str string) string
- func Ok(data interface{}) (int, interface{})
- func RandStr(args ...interface{}) string
- func Result(args ...interface{}) (int, interface{})
- func Sha1(str string) string
Constants ¶
View Source
const ( RandInt = 1 << iota RandStringUpper RandStringLower RandStringSpecial )
strType 000, 第一位代表int, 第二位代表 string_upper, 第三位代表 string_lower
Variables ¶
This section is empty.
Functions ¶
func GetFilePath ¶
GetFilePath 获取目录文件 1.优先找工作目录 2. 请求执行目录
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.