how to binding for multi files upload
how to binding for multi files upload: a task in swe-rebench-v2.1-rl-isolated-1k: SWE-rebench V2.1 RL, isolated grading (1k subset) (Harbor dataset). my code: go // MailUpload struct for e-mail type MailUpload struct { Mail string json:"mail" form:"mail" binding:"required" Attachments…
The task
my code: ```go // MailUpload struct for e-mail type MailUpload struct { Mail string `json:"mail" form:"mail" binding:"required"` Attachments []*multipart.FileHeader `json:"attachment,omitempty" form:"attachments" binding:"required"` // change form to "attachments[]" take no effect also. }