Documentation
¶
Index ¶
- func Addslashes(str string) string
- func Domain(r *ghttp.Request, https bool) string
- func Ext(path string) string
- func FileMD5(file *multipart.FileHeader) (md5Str string, err error)
- func GetCurrentDirectory() (path string, err error)
- func IsURL(str string) bool
- func MD5(str string) string
- func PathExists(path string) (bool, error)
- func SignEncode(data, filter g.Map, passNull, urlencode bool) string
- func Stripslashes(str string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Addslashes ¶
Addslashes 函数返回在预定义字符之前添加反斜杠的字符串。 预定义字符是: 单引号(') 双引号(") 反斜杠(\)
func FileMD5 ¶
func FileMD5(file *multipart.FileHeader) (md5Str string, err error)
FileMD5 FileMD5 Deprecated
func GetCurrentDirectory ¶
GetCurrentDirectory 获取当前路径
func SignEncode ¶
SignEncode Sign Encode
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.