Switch to squirrel

This commit is contained in:
Jon Staab
2025-09-24 16:21:26 -07:00
parent 9b927842a2
commit 307dcda4a7
8 changed files with 65 additions and 93 deletions
+1 -5
View File
@@ -3,7 +3,6 @@ package sqlite
import (
"database/sql"
"fmt"
"sync"
"fiatjaf.com/nostr/eventstore"
_ "github.com/mattn/go-sqlite3"
@@ -12,11 +11,8 @@ import (
var _ eventstore.Store = (*SqliteBackend)(nil)
type SqliteBackend struct {
sync.RWMutex
// Path is where the database will be saved
Path string
db *sql.DB
Path string
FTSAvailable bool
}