aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/datamaps/db.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pkg/datamaps/db.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/datamaps/db.go b/pkg/datamaps/db.go
index 9f9d669..9ae2204 100644
--- a/pkg/datamaps/db.go
+++ b/pkg/datamaps/db.go
@@ -53,7 +53,7 @@ func SetupDB(path string) (*sql.DB, error) {
}
// DatamapToDB takes a slice of DatamapLine and writes it to a sqlite3 db file.
-// func DatafmapToDB(d_path string, data []DatamapLine, dm_name string, dm_path string) error {
+// func DatafmapToDB(d_path string, data ExtractedDatamapFile, dm_name string, dm_path string) error {
func DatamapToDB(opts *Options) error {
fmt.Printf("Importing datamap file %s and naming it %s.\n", opts.DMPath, opts.DMName)