Open tshubham7 opened 3 years ago
can you tell me, how can i use this for multipart files??
// Employee type Employee struct { Name string Image *multipart.FileHeader } // Employees type Employees struct { Data []Employee }
{ "data": [ { "name": "some name1", "image": "file1.jpg" }, { "name": "some name2", "image": "file2.jpg" } ] }
@tshubham7 I'm not 100% clear on your use case. It looks like you incoming data is in JSON format.
Does it supports file validation?
Package version eg. v9, v10:
Issue, Question or Enhancement:
can you tell me, how can i use this for multipart files??
Code sample, to showcase or reproduce: