From e3cc2555ec52312deb5498df07ffb8b6e03c7329 Mon Sep 17 00:00:00 2001 From: David Schlachter Date: Wed, 7 Jan 2026 23:40:02 -0500 Subject: Can now create cards --- setup.go | 1 - 1 file changed, 1 deletion(-) (limited to 'setup.go') diff --git a/setup.go b/setup.go index 4506282..83827c5 100644 --- a/setup.go +++ b/setup.go @@ -17,7 +17,6 @@ func setupDatabase() (*sql.DB, error) { if err != nil { return nil, fmt.Errorf("opening DB '%s': %s", dictionary, err) } - defer db.Close() _, err = db.Exec("create table IF NOT EXISTS words (word text not null, definition text);") if err != nil { -- cgit v1.2.3