aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/datamaps/db.go
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2020-07-26 21:00:08 +0100
committerMatthew Lemon <matt@matthewlemon.com>2020-07-26 21:00:08 +0100
commite1903f6a9445cd5e90809844d7e08be3ca55d16d (patch)
treed8481894371ec23e410822b5e01ac6a1d3ccd65c /pkg/datamaps/db.go
parentb059e3ffb9a37fc0a941458d2cd143fad67a105f (diff)
more encapsulation
Diffstat (limited to '')
-rw-r--r--pkg/datamaps/db.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/datamaps/db.go b/pkg/datamaps/db.go
index ad612c4..e3b5e7a 100644
--- a/pkg/datamaps/db.go
+++ b/pkg/datamaps/db.go
@@ -52,8 +52,7 @@ func setupDB(path string) (*sql.DB, error) {
return db, nil
}
-// DatamapToDB takes a slice of DatamapLine and writes it to a sqlite3 db file.
-// func DatafmapToDB(d_path string, data ExtractedDatamapFile, dm_name string, dm_path string) error {
+// DatamapToDB takes a slice of datamapLine and writes it to a sqlite3 db file.
func DatamapToDB(opts *Options) error {
fmt.Printf("Importing datamap file %s and naming it %s.\n", opts.DMPath, opts.DMName)