Versions in this module Expand all Collapse all v0 v0.1.0 Jul 1, 2024 Changes in this version + func AddUploader(name string, up UploaderGenerator) + func SaveMultipartFile(fh *multipart.FileHeader, path string) error + func Upload(c UploadFun, form *multipart.Form) error + type LocalFileUploader struct + BasePath string + func (local *LocalFileUploader) Upload(form *multipart.Form) error + type UploadFun func(*multipart.FileHeader, string) (string, error) + type Uploader interface + Upload func(*multipart.Form) error + func GetFileEngine(name string) Uploader + func GetLocalFileUploader() Uploader + type UploaderGenerator func() Uploader