@@ -2,9 +2,13 @@ package multipart
import "os"
-type MultipartFile struct {
- ParamName string
- FileName string
- FileSize int64
- File *os.File
+type FileHeader struct {
+ FileName string
+ FileSize int64
+ File *os.File
+}
+
+type Form struct {
+ Value map[string][]string
+ File map[string][]*FileHeader
}