Documentation ¶
Index ¶
- func CheckNotExist(src string) bool
- func CheckPermission(src string) bool
- func GetExt(fileName string) string
- func GetSize(f multipart.File) (int, error)
- func IsNotExistMkDir(src string) error
- func MkAll(src, filename 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)
- func RandomStr(length int) string
- type Field
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Field ¶
type Field struct { Field multipart.File Header *multipart.FileHeader Size int64 Path string PathPrefix string Url string Name string Ext string }
func (*Field) AcWriteFile ¶
func (*Field) AcWriteImage ¶
func (*Field) CheckFieldSize ¶
func (*Field) CheckFileExt ¶
Click to show internal directories.
Click to hide internal directories.