Use Golang to parse CSV files and use it to calculate some basic statistics
- This project is part of An Efficient Go Study Guide Article
- CSV files are generated using this repo
NOTE: We can use the encoding/csv package, which will make our life easier, but for the sake of practicing, we will use bufio instead.
Because sometimes, we will have to handle edge cases like this, a column has , character in it
21,8de40AC4e6EaCa4,"Velez, Payne and Coffey",http://burton.com/,Luxembourg,Mandatory coherent synergy,1986,Wholesale,5010- Read file
- Deal with the CSV
strings.SplitSeq()to return iterator
- handle pass-in arguments
- read file csv
- handle csv row parsing
- calculate statistics
- add concurrency and optimize for One Billion Row Challenge :)