aboutsummaryrefslogtreecommitdiffstats
path: root/reader/reader.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--reader/reader.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/reader/reader.go b/reader/reader.go
index 7153120..f9abb07 100644
--- a/reader/reader.go
+++ b/reader/reader.go
@@ -122,6 +122,12 @@ func cols(n int) []string {
// Paths to a datamap and the spreadsheet file required.
func ReadXLS(dm string, ssheet string) FileData {
+ // TODO - to implement filtering by Datamap,
+ // pull the data first, then go through each
+ // item in the dmlData slice to check for sheet/cellref
+ // matches, and then return them. Duplicate this func
+ // to do so
+
// open the files
excelData, err := xlsx.OpenFile(ssheet)
if err != nil {