Documentation ¶
Index ¶
- func CheckNotExist(src string) bool
- func CheckPermission(src string) bool
- func CopyDir(source string, dest string) (err error)
- func CopyFile(source string, dest string) (err error)
- func GetExt(fileName string) string
- func GetSize(f multipart.File) (int, error)
- func IsDir(path string) bool
- func IsNotExistMkDir(src string) 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 CheckPermission ¶
CheckPermission check if the file has permission
func IsNotExistMkDir ¶
IsNotExistMkDir create a directory if it does not exist
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.