diff options
author | Matthew Lemon <matt@matthewlemon.com> | 2020-07-26 20:00:30 +0100 |
---|---|---|
committer | Matthew Lemon <matt@matthewlemon.com> | 2020-07-26 20:00:30 +0100 |
commit | 3638135ee62347ca267eaf0d6c83703accd36f8e (patch) | |
tree | 677c655c7a4aece7f0dd0f9e35a4aedbe3628543 /pkg/datamaps/db.go | |
parent | 3d9fcd0c1d56a5f5534163d56c9d65321ded4bc5 (diff) |
added re-typed []DatamapLine
Diffstat (limited to 'pkg/datamaps/db.go')
-rw-r--r-- | pkg/datamaps/db.go | 2 |
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) |