Documentation ¶
Index ¶
- func CheckExist(src string) (bool, error)
- func CheckPermission(src string) bool
- func DeleteFile(fileName, filePath string) error
- func GetExt(fileName string) string
- func GetSize(f multipart.File) (int, error)
- func IsNotExistMkDir(src string) error
- func IsToOpen(fileName, filePath string) (*os.File, error)
- func MkDir(src string) error
- func MustOpen(fileName, filePath string) (*os.File, error)
- func Open(name string, flag int, perm os.FileMode) (*os.File, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteFile ¶
DeleteFile 会打开文件,文件路径不存在会创建, 当文件不存在时打开失败
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.