Documentation ¶
Index ¶
- func FileCheckExist(src string) (bool, error)
- func FileCheckPermission(src string) (bool, error)
- func FileCreate(content bytes.Buffer, name string) (err error)
- func FileGetExt(fileName string) string
- func FileGetSize(f multipart.File) (int, error)
- func FileRemove(name string) (err error)
- func FileZip(dst, src string, notContPath string) (err error)
- func GetCurrentPath() string
- func IsNotExistMkDir(src string) error
- func MkDir(src string) error
- func Open(name string, flag int, perm os.FileMode) (f *os.File, err error)
- func PathCreate(dir string) error
- func PathExists(path string) (bool, error)
- func PathRemove(name string) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileCheckPermission ¶
FileCheckPermission 检查文件权限
func FileRemove ¶
func PathCreate ¶
func PathExists ¶
func PathRemove ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.