Versions in this module Expand all Collapse all v0 v0.3.0 Jan 14, 2022 Changes in this version type MagicImage + FileNames []string v0.2.0 Jan 10, 2022 Changes in this version type MagicImage + MultipartForm *multipart.Form v0.1.0 Nov 7, 2021 Changes in this version + func DeleteFolderAndFile(path string) error + func RenameFolderAndFile(old_path, new_path string) error + type MagicImage struct + AllowExt []string + DuplicateImage []uint64 + Files []*multipart.FileHeader + MaxFileInSlice int + MaxFileSize int + MaxMultipartMemory int + MinFileInSlice int + Request *http.Request + Required bool + func New(Request *http.Request, MaxMultipartMemory int) *MagicImage + func (magic *MagicImage) SaveImages(width, height int, path_upload string, square bool) error + func (magic *MagicImage) SetAllowExt(value []string) + func (magic *MagicImage) SetMaxFileInSlice(value int) + func (magic *MagicImage) SetMaxFileSize(value int) + func (magic *MagicImage) SetMinFileInSlice(value int) + func (magic *MagicImage) SetRequired(value bool) + func (magic *MagicImage) ValidateMultipleImage(key string) error + func (magic *MagicImage) ValidateSingleImage(key string) error