summaryrefslogtreecommitdiff
path: root/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'handlers')
-rw-r--r--handlers/handlers.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/handlers/handlers.go b/handlers/handlers.go
index b28bda0..cca1705 100644
--- a/handlers/handlers.go
+++ b/handlers/handlers.go
@@ -5,7 +5,7 @@ import (
"github.com/justsaumit/go-fis-api/models"
"github.com/justsaumit/go-fis-api/utils"
"github.com/labstack/echo/v4"
- _ "github.com/mattn/go-sqlite3"
+ _ "modernc.org/sqlite"
"log"
"net/http"
)
@@ -14,7 +14,7 @@ var db *sql.DB
func init() {
var err error
- db, err = sql.Open("sqlite3", "hashstore.db")
+ db, err = sql.Open("sqlite", "hashstore.db")
if err != nil {
log.Fatalf("sqlite3 not installed: %v", err)
}