feat: use sqlx
Some checks failed
Build Docker Image / Build-Docker-Image (push) Failing after 6m59s

This commit is contained in:
2025-05-04 15:17:48 +02:00
parent af89aa8639
commit b20a48be25
15 changed files with 165 additions and 190 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}
}