initial commit

This commit is contained in:
m.zare
2026-04-10 18:25:21 +03:30
commit 77ca6c34a3
263 changed files with 34470 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
package profile
import (
"context"
"github.com/google/uuid"
)
type Repository interface {
FindByID(ctx context.Context, id uuid.UUID) (*Profile, error)
FindByHandle(ctx context.Context, handle string) (*Profile, error)
Create(ctx context.Context, profile *Profile) error
Update(ctx context.Context, profile *Profile) error
Delete(ctx context.Context, profile *Profile) error
FindByUserID(ctx context.Context, userId uuid.UUID) (*Profile, error)
FindAll(ctx context.Context, filter Filter) ([]*Profile, int, error)
}