(req *http.Request, obj any)
| 53 | } |
| 54 | |
| 55 | func (formMultipartBinding) Bind(req *http.Request, obj any) error { |
| 56 | if err := req.ParseMultipartForm(defaultMemory); err != nil { |
| 57 | return err |
| 58 | } |
| 59 | if err := mappingByPtr(obj, (*multipartRequest)(req), "form"); err != nil { |
| 60 | return err |
| 61 | } |
| 62 | |
| 63 | return validate(obj) |
| 64 | } |
nothing calls this directly
no test coverage detected