aboutsummaryrefslogtreecommitdiffstats
path: root/reader/reader.go
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2019-11-12 13:11:29 +0000
committerMatthew Lemon <lemon@matthewlemon.com>2019-11-12 13:11:29 +0000
commite9eefc2249ebd7de9cd0e2ed3afb72bcc362e62b (patch)
tree6a8776ddbf09009ae5dfee39ebdaef3414cc984f /reader/reader.go
parenta50c61f4d31cf3cc30222554bd171dbf66603668 (diff)
added TODO for next step
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 {