From 5c710211171c5a430a87a4e05ab46e3544179104 Mon Sep 17 00:00:00 2001 From: linuxMate Date: Fri, 1 Dec 2023 17:57:46 +0300 Subject: [PATCH] mock goal repo --- .../microservices/goal/repository/postgres/repository.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/microservices/goal/repository/postgres/repository.go b/internal/microservices/goal/repository/postgres/repository.go index 202dc9c9..bda02549 100644 --- a/internal/microservices/goal/repository/postgres/repository.go +++ b/internal/microservices/goal/repository/postgres/repository.go @@ -69,13 +69,13 @@ func (r *Repository) UpdateGoal(ctx context.Context, goal *models.Goal) error { } func (r *Repository) DeleteGoal(ctx context.Context, goalId uuid.UUID) error { - + return nil } func (r *Repository) GetGoals(ctx context.Context, userId uuid.UUID) ([]models.Goal, error) { - + return nil, nil } func (r *Repository) CheckGoalsState(ctx context.Context, userId uuid.UUID) ([]models.Goal, error) { - + return nil, nil }