UnmarshalFile method multipart.File support
vahdet opened this issue · 2 comments
vahdet commented
UnmarshalFile
method only supports *os.File
for now. Handling multipart.File
also would be great for receiving the file via a web upload.
Oh, btw, thanks for the work :) I liked your custom-csv-tag approach.
acls commented
Try using the gocsv.Unmarshal
method since it takes an io.Reader
.