From e1903f6a9445cd5e90809844d7e08be3ca55d16d Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sun, 26 Jul 2020 21:00:08 +0100 Subject: more encapsulation --- pkg/datamaps/db.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pkg/datamaps/db.go') 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) -- cgit v1.2.3