Documentation ¶
Index ¶
- type Tools
- func (t *Tools) CreateDirIfNotExist(path string) error
- func (t *Tools) RandomString(length int) string
- func (t *Tools) UploadFile(r *http.Request, uploadDir string, rename ...bool) (*UploadedFile, error)
- func (t *Tools) UploadFiles(r *http.Request, uploadDir string, rename ...bool) ([]*UploadedFile, error)
- type UploadedFile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tools ¶
func (*Tools) CreateDirIfNotExist ¶
func (*Tools) RandomString ¶
func (*Tools) UploadFile ¶
func (*Tools) UploadFiles ¶
type UploadedFile ¶
Click to show internal directories.
Click to hide internal directories.