renamed site directory to server

This commit is contained in:
2026-01-11 15:27:54 -07:00
parent 889aead6b6
commit ae01554b0b
65 changed files with 123 additions and 49 deletions
+6 -3
View File
@@ -4,6 +4,7 @@ import (
"context"
"encoding/json"
"fmt"
"log/slog"
"time"
"github.com/jackc/pgx/v5"
@@ -13,7 +14,8 @@ import (
type (
Store struct {
db *pgxpool.Pool
log *slog.Logger
db *pgxpool.Pool
}
Event struct {
@@ -25,9 +27,10 @@ type (
}
)
func NewStore(db *pgxpool.Pool) *Store {
func NewStore(logger *slog.Logger, db *pgxpool.Pool) *Store {
return &Store{
db: db,
log: logger,
db: db,
}
}