Documentation ¶
Index ¶
- func CheckExist(src string) bool
- func CheckPermission(src string) bool
- func CreateDir(dirs ...string) (err error)
- func DeLFile(filePath string) error
- func Ext(fileName string) string
- func FileExist(path string) bool
- func FileMove(src string, dst string) (err error)
- func IsNotExistMkDir(src string) error
- func MkDir(src string) error
- func Open(name string, flag int, perm os.FileMode) (*os.File, error)
- func OpenExistFile(fileName, filePath string) (*os.File, error)
- func PathExists(path string) (bool, error)
- func Size(f multipart.File) (int, error)
- func TrimSpace(target interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OpenExistFile ¶
openExistFile 打开文件 不存在则创建
func PathExists ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.