From e9eefc2249ebd7de9cd0e2ed3afb72bcc362e62b Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Tue, 12 Nov 2019 13:11:29 +0000 Subject: added TODO for next step --- reader/reader.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'reader/reader.go') 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 { -- cgit v1.2.3