diff options
Diffstat (limited to '')
-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 46d07bc..0f6a930 100644 --- a/pkg/datamaps/db.go +++ b/pkg/datamaps/db.go @@ -53,7 +53,7 @@ func SetupDB(path string) (*sql.DB, error) { // TODO - how do we avoid passing in all these params!??! //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 DatamapToDB(opts Options) error { +func DatamapToDB(opts *Options) error { fmt.Printf("Importing datamap file %s and naming it %s.\n", opts.DMPath, opts.DMName) // db, err := SetupDB("/home/lemon/.config/datamaps-go/datamaps.db") // if err != nil { |