diff options
Diffstat (limited to '')
-rw-r--r-- | main.go | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -33,8 +33,9 @@ var s *schema.Decoder func main() { flag.Parse() - db, err := sql.Open(driverName, "test.sqlite") - if err != nil { + db := openDB("") + + if err := db.Ping(); err != nil { log.Fatal(err) } |