feat: use sqlx
Some checks failed
Build Docker Image / Build-Docker-Image (push) Has been cancelled

This commit is contained in:
2025-05-04 15:52:19 +02:00
parent 54d68175d2
commit d51128ef5b
12 changed files with 154 additions and 155 deletions

View File

@@ -9,6 +9,7 @@ import (
"time"
"github.com/google/uuid"
"github.com/jmoiron/sqlx"
)
type Auth interface {
@@ -32,10 +33,10 @@ type Auth interface {
}
type AuthSqlite struct {
db *sql.DB
db *sqlx.DB
}
func NewAuthSqlite(db *sql.DB) *AuthSqlite {
func NewAuthSqlite(db *sqlx.DB) *AuthSqlite {
return &AuthSqlite{db: db}
}