aboutsummaryrefslogtreecommitdiffstats
path: root/reader
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2019-12-06 14:26:21 +0000
committerMatthew Lemon <lemon@matthewlemon.com>2019-12-06 14:26:21 +0000
commite6ea4065fe5b46fb41ba027fe7344c4ff1a5f2b9 (patch)
tree9883f1afa91cdd701306f503edb83a25a5063fff /reader
parent1b2223073b36d79a340d0574c6a615586766536a (diff)
linting fixes
Diffstat (limited to '')
-rw-r--r--reader/reader.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/reader/reader.go b/reader/reader.go
index 4d3b0c6..b28f3e4 100644
--- a/reader/reader.go
+++ b/reader/reader.go
@@ -15,11 +15,11 @@ import (
)
type (
- // Data from the sheet.
+ // SheetData is the data from the sheet
SheetData map[string]ExtractedCell
- // Data from the file.
+ // FileData is the data from the file.
FileData map[string]SheetData
- // Data from the file, filtered by a Datamap.
+ // ExtractedData is the Extraced data from the file, filtered by a Datamap.
ExtractedData map[string]map[string]xlsx.Cell
)
@@ -161,7 +161,7 @@ func GetTargetFiles(path string) ([]string, error) {
return nil, err
}
if output == nil {
- return nil, fmt.Errorf("cannot find any xlsx files in %s\n", path)
+ return nil, fmt.Errorf("cannot find any xlsx files in %s", path)
}
return output, nil
}