From 3638135ee62347ca267eaf0d6c83703accd36f8e Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sun, 26 Jul 2020 20:00:30 +0100 Subject: added re-typed []DatamapLine --- pkg/datamaps/db.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/datamaps/db.go') 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) -- cgit v1.2.3