Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileHeaderToBytes ¶
func FileHeaderToBytes(fileHeader *multipart.FileHeader) ([]byte, error)
FileHeaderToBytes 将 *multipart.FileHeader 转换为 []byte
func RemoveFile ¶
func SaveUploadedFile ¶
func SaveUploadedFile(file *multipart.FileHeader, dst string) error
SaveUploadedFile uploads the form file to specific dst.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.