mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-02 17:31:39 +00:00
refactor: remove unused dependencies
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user