gocarina/gocsv

UnmarshalFile method multipart.File support

vahdet opened this issue · 2 comments

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.

Looks like there is now gocsv.UnmarshalMultipartFile.

c3ede7b