aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2020-07-27 08:25:35 +0100
committerMatthew Lemon <matt@matthewlemon.com>2020-07-27 08:25:35 +0100
commitfdd2eebd345fcb92bc2cbfc532b7597a7d63e121 (patch)
treec2834a1fb0b5645c4681332fb6b065719aba6ba2
parent4ab499deb3955c6bfcce48d2f3eb36ef23836d71 (diff)
ready to write the code to import extraced XLSX data into database now
-rw-r--r--pkg/datamaps/db.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkg/datamaps/db.go b/pkg/datamaps/db.go
index 369ff53..f9af4f9 100644
--- a/pkg/datamaps/db.go
+++ b/pkg/datamaps/db.go
@@ -81,7 +81,11 @@ func ImportToDB(opts *Options) error {
if err != nil {
return err
}
- fmt.Println(target)
+ for _, vv := range target {
+ // TODO: Do the work!
+
+ // fmt.Println(vv)
+ }
return nil
}