add initial stuff

This commit is contained in:
Kujtim Hoxha
2025-03-23 19:19:08 +01:00
parent 796bbf4d66
commit 8daa6e774a
36 changed files with 1779 additions and 143 deletions

20
internal/db/querier.go Normal file
View File

@@ -0,0 +1,20 @@
// Code generated by sqlc. DO NOT EDIT.
// versions:
// sqlc v1.27.0
package db
import (
"context"
)
type Querier interface {
// sqlfluff:dialect:sqlite
CreateSession(ctx context.Context, arg CreateSessionParams) (Session, error)
DeleteSession(ctx context.Context, id string) error
GetSessionByID(ctx context.Context, id string) (Session, error)
ListSessions(ctx context.Context) ([]Session, error)
UpdateSession(ctx context.Context, arg UpdateSessionParams) (Session, error)
}
var _ Querier = (*Queries)(nil)