Add graphify, tests and supabase migrations & config

This commit is contained in:
2026-07-17 22:35:58 +04:00
parent 1069c93e6d
commit a5fd186320
15 changed files with 2399 additions and 6 deletions
+3 -3
View File
@@ -10,14 +10,14 @@ import (
"github.com/jackc/pgx/v5/pgconn"
)
// Service composes validation on top of PgStore.
// Service composes validation on top of Store.
type Service struct {
pg *PgStore
pg Store
now func() time.Time
}
// NewService wires a service.
func NewService(pg *PgStore) *Service {
func NewService(pg Store) *Service {
return &Service{pg: pg, now: time.Now}
}