refactor: remove unused dependencies

This commit is contained in:
Prad Nukala
2024-09-05 14:18:22 -04:00
parent ae99abf2c4
commit 2c602138ff
9 changed files with 4 additions and 27 deletions
-9
View File
@@ -9,21 +9,12 @@ import (
"fmt"
"net/http"
_ "github.com/flimzy/go-sql.js"
wasmhttp "github.com/nlepage/go-wasm-http-server"
)
var db *sql.DB
func main() {
var err error
// Open a new in-memory SQLite database
db, err = sql.Open("sqljs", "")
if err != nil {
panic(err)
}
defer db.Close()
// Initialize the database
initDB()