aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-08-02 15:38:29 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-08-02 15:38:29 +0100
commit1f442dfc4b1478e942540cc07ea21711c99a1877 (patch)
treee5b7dc7cbcba142ae602de3fc9776e0fa80c0650
parentfbaef42cc52a91630d169343def9b5a98800bfcf (diff)
removed old commented out code
-rw-r--r--pkg/datamaps/writer.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/pkg/datamaps/writer.go b/pkg/datamaps/writer.go
index b461e94..8e721d0 100644
--- a/pkg/datamaps/writer.go
+++ b/pkg/datamaps/writer.go
@@ -102,16 +102,6 @@ func ExportMaster(opts *Options) error {
}
}
- // hdrRow, err := sh.Row(0)
- // if err != nil {
- // return fmt.Errorf("cannot create header row in output spreadsheet: %v", err)
- // }
-
- // log.Printf("Writing slice of %#v to top row\n", headerSlice)
- // if hdr := hdrRow.WriteSlice(headerSlice, -1); hdr == -1 {
- // return fmt.Errorf("cannot write header values into header row: %v", err)
- // }
-
for masterRow := 0; masterRow < len(datamapKeys); masterRow++ {
log.Printf("Writing to masterRow which is %d", masterRow)
r, err := sh.AddRowAtIndex(masterRow)