refactor: update project structure

This commit is contained in:
TAskMAster339
2026-09-25 20:17:56 +03:00
parent 7f7b0c0ce0
commit a9dda20540
62 changed files with 4273 additions and 1764 deletions
+19
View File
@@ -0,0 +1,19 @@
package repositories
import (
"context"
"github.com/jackc/pgx/v5/pgxpool"
)
type HealthStore struct {
db *pgxpool.Pool
}
func NewHealthStore(db *pgxpool.Pool) *HealthStore {
return &HealthStore{db: db}
}
func (s *HealthStore) Ping(ctx context.Context) error {
return s.db.Ping(ctx)
}