Documentation
¶
Index ¶
- Variables
- func AppendImageAllowExt(ext string)
- func CheckImageExt(fileName string) bool
- func CheckImageSize(f multipart.File) (error, bool)
- 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 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 ¶
View Source
var (
//MB
ImageMaxSize = 5
)
Functions ¶
func AppendImageAllowExt ¶
func AppendImageAllowExt(ext string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.