Read CSV from Form, run analysis, return results to form

Hi,

I have a csv file. I want to read the file through a html form and then run few calculations and return the results to the form. Can anyone help?

I tried Uploading a file with Go - YouTube

But, I’m not able to run the calculation as csv file as it is read as a text file, as a string.

Hi,

You can definitely create a map of structs - based on the columns of your csv
convert specific attrs of the struct to different data type, like int or float
and run the calculations of the map of structs.

Thank you. Will try.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.