Support `multipart/form-data` for file uploading requests
ggicci opened this issue · 1 comments
ggicci commented
Gain the ability to process multipart/form-data
data.
e.g.
type UpdateProfileInput struct {
Email string `in:"form=email"`
Gender string `in:"form=gender"`
Avatar httpin.File `in:"form=avatar"`
}
The httpin.File
struct might be:
type File struct {
multipart.File
Header *multipart.FileHeader
}