diff options
Diffstat (limited to 'pkg/datamaps/reader.go')
-rw-r--r-- | pkg/datamaps/reader.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/datamaps/reader.go b/pkg/datamaps/reader.go index 4f5e1a0..4490d23 100644 --- a/pkg/datamaps/reader.go +++ b/pkg/datamaps/reader.go @@ -202,13 +202,13 @@ func ExtractDBDatamap(name string, file string, db *sql.DB) (extractedData, erro outer := make(extractedData, len(names)) var inner map[string]xlsx.Cell - seen := make(map[string]bool) + seen := make(map[string]bool) // using this as a set to distinguish sheet names for _, i := range ddata { sheet := i.Sheet if !seen[sheet] { seen[sheet] = true - inner = make(map[string]xlsx.Cell) + inner = make(map[string]xlsx.Cell) // we create a new inner when we get a new sheet } cellref := i.Cellref |